$ IM, IN, IOFF, IOUT, IRANGE, ITMAX, ITMP1,
$ ITMP2, IW, IWOFF, J, JBLK, JDISC, JE, JEE, NB,
$ NWL, NWU
- DOUBLE PRECISION ATOLI, EPS, GL, GU, RTOLI, SPDIAM, TMP1, TMP2,
+ DOUBLE PRECISION ATOLI, EPS, GL, GU, RTOLI, TMP1, TMP2,
$ TNORM, UFLOW, WKILL, WLU, WUL
* ..
TNORM = MAX( ABS( GL ), ABS( GU ) )
GL = GL - FUDGE*TNORM*EPS*N - FUDGE*TWO*PIVMIN
GU = GU + FUDGE*TNORM*EPS*N + FUDGE*TWO*PIVMIN
- SPDIAM = GU - GL
+* [JAN/28/2009] remove the line below since SPDIAM variable not use
+* SPDIAM = GU - GL
* Input arguments for DLAEBZ:
* The relative tolerance. An interval (a,b] lies within
* "relative tolerance" if b-a < RELTOL*max(|a|,|b|),
GL = MIN( GL, GERS( 2*J - 1))
GU = MAX( GU, GERS(2*J) )
40 CONTINUE
- SPDIAM = GU - GL
- GL = GL - FUDGE*SPDIAM*EPS*IN - FUDGE*PIVMIN
- GU = GU + FUDGE*SPDIAM*EPS*IN + FUDGE*PIVMIN
+* [JAN/28/2009]
+* change SPDIAM by TNORM in lines 2 and 3 thereafter
+* line 1: remove computation of SPDIAM (not useful anymore)
+* SPDIAM = GU - GL
+* GL = GL - FUDGE*SPDIAM*EPS*IN - FUDGE*PIVMIN
+* GU = GU + FUDGE*SPDIAM*EPS*IN + FUDGE*PIVMIN
+ GL = GL - FUDGE*TNORM*EPS*IN - FUDGE*PIVMIN
+ GU = GU + FUDGE*TNORM*EPS*IN + FUDGE*PIVMIN
*
IF( IRANGE.GT.1 ) THEN
IF( GU.LT.WL ) THEN
$ IM, IN, IOFF, IOUT, IRANGE, ITMAX, ITMP1,
$ ITMP2, IW, IWOFF, J, JBLK, JDISC, JE, JEE, NB,
$ NWL, NWU
- REAL ATOLI, EPS, GL, GU, RTOLI, SPDIAM, TMP1, TMP2,
+ REAL ATOLI, EPS, GL, GU, RTOLI, TMP1, TMP2,
$ TNORM, UFLOW, WKILL, WLU, WUL
* ..
TNORM = MAX( ABS( GL ), ABS( GU ) )
GL = GL - FUDGE*TNORM*EPS*N - FUDGE*TWO*PIVMIN
GU = GU + FUDGE*TNORM*EPS*N + FUDGE*TWO*PIVMIN
- SPDIAM = GU - GL
+* [JAN/28/2009] remove the line below since SPDIAM variable not use
+* SPDIAM = GU - GL
* Input arguments for SLAEBZ:
* The relative tolerance. An interval (a,b] lies within
* "relative tolerance" if b-a < RELTOL*max(|a|,|b|),
GL = MIN( GL, GERS( 2*J - 1))
GU = MAX( GU, GERS(2*J) )
40 CONTINUE
- SPDIAM = GU - GL
- GL = GL - FUDGE*SPDIAM*EPS*IN - FUDGE*PIVMIN
- GU = GU + FUDGE*SPDIAM*EPS*IN + FUDGE*PIVMIN
+* [JAN/28/2009]
+* change SPDIAM by TNORM in lines 2 and 3 thereafter
+* line 1: remove computation of SPDIAM (not useful anymore)
+* SPDIAM = GU - GL
+* GL = GL - FUDGE*SPDIAM*EPS*IN - FUDGE*PIVMIN
+* GU = GU + FUDGE*SPDIAM*EPS*IN + FUDGE*PIVMIN
+ GL = GL - FUDGE*TNORM*EPS*IN - FUDGE*PIVMIN
+ GU = GU + FUDGE*TNORM*EPS*IN + FUDGE*PIVMIN
*
IF( IRANGE.GT.1 ) THEN
IF( GU.LT.WL ) THEN