Increase deflation tolerance to match recent ?SLASD changes (Reference-LAPACK PR 1317)
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
* Online html documentation available at
|
||||
* http://www.netlib.org/lapack/explore-html/
|
||||
*
|
||||
*> \htmlonly
|
||||
*> Download DLAED2 + dependencies
|
||||
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaed2.f">
|
||||
*> [TGZ]</a>
|
||||
@@ -13,7 +12,6 @@
|
||||
*> [ZIP]</a>
|
||||
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaed2.f">
|
||||
*> [TXT]</a>
|
||||
*> \endhtmlonly
|
||||
*
|
||||
* Definition:
|
||||
* ===========
|
||||
@@ -197,7 +195,7 @@
|
||||
*> \author Univ. of Colorado Denver
|
||||
*> \author NAG Ltd.
|
||||
*
|
||||
*> \ingroup auxOTHERcomputational
|
||||
*> \ingroup laed2
|
||||
*
|
||||
*> \par Contributors:
|
||||
* ==================
|
||||
@@ -207,8 +205,10 @@
|
||||
*> Modified by Francoise Tisseur, University of Tennessee
|
||||
*>
|
||||
* =====================================================================
|
||||
SUBROUTINE DLAED2( K, N, N1, D, Q, LDQ, INDXQ, RHO, Z, DLAMBDA, W,
|
||||
SUBROUTINE DLAED2( K, N, N1, D, Q, LDQ, INDXQ, RHO, Z, DLAMBDA,
|
||||
$ W,
|
||||
$ Q2, INDX, INDXC, INDXP, COLTYP, INFO )
|
||||
IMPLICIT NONE
|
||||
*
|
||||
* -- LAPACK computational routine --
|
||||
* -- LAPACK is a software package provided by Univ. of Tennessee, --
|
||||
@@ -246,7 +246,8 @@
|
||||
EXTERNAL IDAMAX, DLAMCH, DLAPY2
|
||||
* ..
|
||||
* .. External Subroutines ..
|
||||
EXTERNAL DCOPY, DLACPY, DLAMRG, DROT, DSCAL, XERBLA
|
||||
EXTERNAL DCOPY, DLACPY, DLAMRG, DROT, DSCAL,
|
||||
$ XERBLA
|
||||
* ..
|
||||
* .. Intrinsic Functions ..
|
||||
INTRINSIC ABS, MAX, MIN, SQRT
|
||||
@@ -312,7 +313,7 @@
|
||||
IMAX = IDAMAX( N, Z, 1 )
|
||||
JMAX = IDAMAX( N, D, 1 )
|
||||
EPS = DLAMCH( 'Epsilon' )
|
||||
TOL = EIGHT*EPS*MAX( ABS( D( JMAX ) ), ABS( Z( IMAX ) ) )
|
||||
TOL = EIGHT*EIGHT*EPS*MAX( ABS( D( JMAX ) ), ABS( Z( IMAX ) ) )
|
||||
*
|
||||
* If the rank-1 modifier is small enough, no more needs to be done
|
||||
* except to reorganize Q so that its columns correspond with the
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* Online html documentation available at
|
||||
* http://www.netlib.org/lapack/explore-html/
|
||||
*
|
||||
*> \htmlonly
|
||||
*> Download DLAED8 + dependencies
|
||||
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaed8.f">
|
||||
*> [TGZ]</a>
|
||||
@@ -13,7 +12,6 @@
|
||||
*> [ZIP]</a>
|
||||
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaed8.f">
|
||||
*> [TXT]</a>
|
||||
*> \endhtmlonly
|
||||
*
|
||||
* Definition:
|
||||
* ===========
|
||||
@@ -228,7 +226,7 @@
|
||||
*> \author Univ. of Colorado Denver
|
||||
*> \author NAG Ltd.
|
||||
*
|
||||
*> \ingroup auxOTHERcomputational
|
||||
*> \ingroup laed8
|
||||
*
|
||||
*> \par Contributors:
|
||||
* ==================
|
||||
@@ -240,6 +238,7 @@
|
||||
SUBROUTINE DLAED8( ICOMPQ, K, N, QSIZ, D, Q, LDQ, INDXQ, RHO,
|
||||
$ CUTPNT, Z, DLAMBDA, Q2, LDQ2, W, PERM, GIVPTR,
|
||||
$ GIVCOL, GIVNUM, INDXP, INDX, INFO )
|
||||
IMPLICIT NONE
|
||||
*
|
||||
* -- LAPACK computational routine --
|
||||
* -- LAPACK is a software package provided by Univ. of Tennessee, --
|
||||
@@ -275,7 +274,8 @@
|
||||
EXTERNAL IDAMAX, DLAMCH, DLAPY2
|
||||
* ..
|
||||
* .. External Subroutines ..
|
||||
EXTERNAL DCOPY, DLACPY, DLAMRG, DROT, DSCAL, XERBLA
|
||||
EXTERNAL DCOPY, DLACPY, DLAMRG, DROT, DSCAL,
|
||||
$ XERBLA
|
||||
* ..
|
||||
* .. Intrinsic Functions ..
|
||||
INTRINSIC ABS, MAX, MIN, SQRT
|
||||
@@ -355,7 +355,7 @@
|
||||
IMAX = IDAMAX( N, Z, 1 )
|
||||
JMAX = IDAMAX( N, D, 1 )
|
||||
EPS = DLAMCH( 'Epsilon' )
|
||||
TOL = EIGHT*EPS*ABS( D( JMAX ) )
|
||||
TOL = EIGHT*EIGHT*EPS*ABS( D( JMAX ) )
|
||||
*
|
||||
* If the rank-1 modifier is small enough, no more needs to be done
|
||||
* except to reorganize Q so that its columns correspond with the
|
||||
@@ -370,7 +370,8 @@
|
||||
ELSE
|
||||
DO 60 J = 1, N
|
||||
PERM( J ) = INDXQ( INDX( J ) )
|
||||
CALL DCOPY( QSIZ, Q( 1, PERM( J ) ), 1, Q2( 1, J ), 1 )
|
||||
CALL DCOPY( QSIZ, Q( 1, PERM( J ) ), 1, Q2( 1, J ),
|
||||
$ 1 )
|
||||
60 CONTINUE
|
||||
CALL DLACPY( 'A', QSIZ, N, Q2( 1, 1 ), LDQ2, Q( 1, 1 ),
|
||||
$ LDQ )
|
||||
|
||||
@@ -312,7 +312,7 @@
|
||||
IMAX = ISAMAX( N, Z, 1 )
|
||||
JMAX = ISAMAX( N, D, 1 )
|
||||
EPS = SLAMCH( 'Epsilon' )
|
||||
TOL = EIGHT*EPS*MAX( ABS( D( JMAX ) ), ABS( Z( IMAX ) ) )
|
||||
TOL = EIGHT*EIGHT*EPS*MAX( ABS( D( JMAX ) ), ABS( Z( IMAX ) ) )
|
||||
*
|
||||
* If the rank-1 modifier is small enough, no more needs to be done
|
||||
* except to reorganize Q so that its columns correspond with the
|
||||
|
||||
@@ -355,7 +355,7 @@
|
||||
IMAX = ISAMAX( N, Z, 1 )
|
||||
JMAX = ISAMAX( N, D, 1 )
|
||||
EPS = SLAMCH( 'Epsilon' )
|
||||
TOL = EIGHT*EPS*ABS( D( JMAX ) )
|
||||
TOL = EIGHT*EIGHT*EPS*ABS( D( JMAX ) )
|
||||
*
|
||||
* If the rank-1 modifier is small enough, no more needs to be done
|
||||
* except to reorganize Q so that its columns correspond with the
|
||||
|
||||
Reference in New Issue
Block a user