diff --git a/TESTING/EIG/cerrbd.f b/TESTING/EIG/cerrbd.f index 76503ae090..a8d6b401e2 100644 --- a/TESTING/EIG/cerrbd.f +++ b/TESTING/EIG/cerrbd.f @@ -21,7 +21,8 @@ *> *> \verbatim *> -*> CERRBD tests the error exits for CGEBRD, CUNGBR, CUNMBR, and CBDSQR. +*> CERRBD tests the error exits for CGEBD2, CGEBRD, CUNGBR, CUNMBR, +*> and CBDSQR. *> \endverbatim * * Arguments: @@ -81,7 +82,8 @@ SUBROUTINE CERRBD( PATH, NUNIT ) EXTERNAL LSAMEN * .. * .. External Subroutines .. - EXTERNAL CBDSQR, CGEBRD, CHKXER, CUNGBR, CUNMBR + EXTERNAL CHKXER, CBDSQR, CGEBD2, CGEBRD, CUNGBR, + $ CUNMBR * .. * .. Scalars in Common .. LOGICAL LERR, OK @@ -132,6 +134,20 @@ SUBROUTINE CERRBD( PATH, NUNIT ) CALL CHKXER( 'CGEBRD', INFOT, NOUT, LERR, OK ) NT = NT + 4 * +* CGEBD2 +* + SRNAMT = 'CGEBD2' + INFOT = 1 + CALL CGEBD2( -1, 0, A, 1, D, E, TQ, TP, W, INFO ) + CALL CHKXER( 'CGEBD2', INFOT, NOUT, LERR, OK ) + INFOT = 2 + CALL CGEBD2( 0, -1, A, 1, D, E, TQ, TP, W, INFO ) + CALL CHKXER( 'CGEBD2', INFOT, NOUT, LERR, OK ) + INFOT = 4 + CALL CGEBD2( 2, 1, A, 1, D, E, TQ, TP, W, INFO ) + CALL CHKXER( 'CGEBD2', INFOT, NOUT, LERR, OK ) + NT = NT + 3 +* * CUNGBR * SRNAMT = 'CUNGBR' diff --git a/TESTING/EIG/cerrhs.f b/TESTING/EIG/cerrhs.f index 0568a6d786..0e8f073f30 100644 --- a/TESTING/EIG/cerrhs.f +++ b/TESTING/EIG/cerrhs.f @@ -22,7 +22,7 @@ *> \verbatim *> *> CERRHS tests the error exits for CGEBAK, CGEBAL, CGEHRD, CUNGHR, -*> CUNMHR, CHSEQR, CHSEIN, and CTREVC. +*> CUNMHR, CHSEQR, CHSEIN, CTREVC, and CTREVC3. *> \endverbatim * * Arguments: @@ -86,7 +86,7 @@ SUBROUTINE CERRHS( PATH, NUNIT ) * .. * .. External Subroutines .. EXTERNAL CHKXER, CGEBAK, CGEBAL, CGEHRD, CHSEIN, CHSEQR, - $ CUNGHR, CUNMHR, CTREVC + $ CUNGHR, CUNMHR, CTREVC, CTREVC3 * .. * .. Intrinsic Functions .. INTRINSIC REAL @@ -398,6 +398,47 @@ SUBROUTINE CERRHS( PATH, NUNIT ) $ RW, INFO ) CALL CHKXER( 'CTREVC', INFOT, NOUT, LERR, OK ) NT = NT + 7 +* +* CTREVC3 +* + SRNAMT = 'CTREVC3' + INFOT = 1 + CALL CTREVC3( '/', 'A', SEL, 0, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, RW, 1, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 2 + CALL CTREVC3( 'L', '/', SEL, 0, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, RW, 1, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 4 + CALL CTREVC3( 'L', 'A', SEL, -1, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, RW, 1, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 6 + CALL CTREVC3( 'L', 'A', SEL, 2, A, 1, VL, 2, VR, 1, 4, M, W, + $ LW, RW, 2, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 8 + CALL CTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 1, VR, 1, 4, M, W, + $ LW, RW, 2, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 10 + CALL CTREVC3( 'R', 'A', SEL, 2, A, 2, VL, 1, VR, 1, 4, M, W, + $ LW, RW, 2, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 11 + CALL CTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 1, M, W, + $ LW, RW, 2, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 14 + CALL CTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 2, M, W, + $ 2, RW, 2, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 16 + CALL CTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 2, M, W, + $ LW, RW, 1, INFO ) + CALL CHKXER( 'CTREVC3', INFOT, NOUT, LERR, OK ) + NT = NT + 9 END IF * * Print a summary line. diff --git a/TESTING/EIG/derrhs.f b/TESTING/EIG/derrhs.f index fec41c0f0f..5382bd8598 100644 --- a/TESTING/EIG/derrhs.f +++ b/TESTING/EIG/derrhs.f @@ -21,8 +21,8 @@ *> *> \verbatim *> -*> DERRHS tests the error exits for DGEBAK, SGEBAL, SGEHRD, DORGHR, -*> DORMHR, DHSEQR, SHSEIN, and DTREVC. +*> DERRHS tests the error exits for DGEBAK, DGEBAL, DGEHRD, DORGHR, +*> DORMHR, DHSEQR, DHSEIN, DTREVC, and DTREVC3. *> \endverbatim * * Arguments: @@ -86,7 +86,7 @@ SUBROUTINE DERRHS( PATH, NUNIT ) * .. * .. External Subroutines .. EXTERNAL CHKXER, DGEBAK, DGEBAL, DGEHRD, DHSEIN, DHSEQR, - $ DORGHR, DORMHR, DTREVC + $ DORGHR, DORMHR, DTREVC, DTREVC3 * .. * .. Intrinsic Functions .. INTRINSIC DBLE @@ -328,7 +328,11 @@ SUBROUTINE DERRHS( PATH, NUNIT ) CALL DHSEQR( 'E', 'V', 2, 1, 2, A, 2, WR, WI, C, 1, W, 1, $ INFO ) CALL CHKXER( 'DHSEQR', INFOT, NOUT, LERR, OK ) - NT = NT + 9 + INFOT = 13 + CALL DHSEQR( 'E', 'N', 2, 1, 2, A, 2, WR, WI, C, 1, W, 1, + $ INFO ) + CALL CHKXER( 'DHSEQR', INFOT, NOUT, LERR, OK ) + NT = NT + 10 * * DHSEIN * @@ -399,6 +403,43 @@ SUBROUTINE DERRHS( PATH, NUNIT ) $ INFO ) CALL CHKXER( 'DTREVC', INFOT, NOUT, LERR, OK ) NT = NT + 7 +* +* DTREVC3 +* + SRNAMT = 'DTREVC3' + INFOT = 1 + CALL DTREVC3( '/', 'A', SEL, 0, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, INFO ) + CALL CHKXER( 'DTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 2 + CALL DTREVC3( 'L', '/', SEL, 0, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, INFO ) + CALL CHKXER( 'DTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 4 + CALL DTREVC3( 'L', 'A', SEL, -1, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, INFO ) + CALL CHKXER( 'DTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 6 + CALL DTREVC3( 'L', 'A', SEL, 2, A, 1, VL, 2, VR, 1, 4, M, W, + $ LW, INFO ) + CALL CHKXER( 'DTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 8 + CALL DTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 1, VR, 1, 4, M, W, + $ LW, INFO ) + CALL CHKXER( 'DTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 10 + CALL DTREVC3( 'R', 'A', SEL, 2, A, 2, VL, 1, VR, 1, 4, M, W, + $ LW, INFO ) + CALL CHKXER( 'DTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 11 + CALL DTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 1, M, W, + $ LW, INFO ) + CALL CHKXER( 'DTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 14 + CALL DTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 2, M, W, + $ 2, INFO ) + CALL CHKXER( 'DTREVC3', INFOT, NOUT, LERR, OK ) + NT = NT + 8 END IF * * Print a summary line. diff --git a/TESTING/EIG/serrbd.f b/TESTING/EIG/serrbd.f index f8962596cb..0d0089ebec 100644 --- a/TESTING/EIG/serrbd.f +++ b/TESTING/EIG/serrbd.f @@ -111,7 +111,7 @@ SUBROUTINE SERRBD( PATH, NUNIT ) * DO 20 J = 1, NMAX DO 10 I = 1, NMAX - A( I, J ) = 1.D0 / REAL( I+J ) + A( I, J ) = 1. / REAL( I+J ) 10 CONTINUE 20 CONTINUE OK = .TRUE. diff --git a/TESTING/EIG/serrhs.f b/TESTING/EIG/serrhs.f index 8f0ff98a1d..fb89fb6349 100644 --- a/TESTING/EIG/serrhs.f +++ b/TESTING/EIG/serrhs.f @@ -22,7 +22,7 @@ *> \verbatim *> *> SERRHS tests the error exits for SGEBAK, SGEBAL, SGEHRD, SORGHR, -*> SORMHR, SHSEQR, SHSEIN, and STREVC. +*> SORMHR, SHSEQR, SHSEIN, STREVC, and STREVC3. *> \endverbatim * * Arguments: @@ -85,7 +85,7 @@ SUBROUTINE SERRHS( PATH, NUNIT ) * .. * .. External Subroutines .. EXTERNAL CHKXER, SGEBAK, SGEBAL, SGEHRD, SHSEIN, SHSEQR, - $ SORGHR, SORMHR, STREVC + $ SORGHR, SORMHR, STREVC, STREVC3 * .. * .. Intrinsic Functions .. INTRINSIC REAL @@ -327,7 +327,11 @@ SUBROUTINE SERRHS( PATH, NUNIT ) CALL SHSEQR( 'E', 'V', 2, 1, 2, A, 2, WR, WI, C, 1, W, 1, $ INFO ) CALL CHKXER( 'SHSEQR', INFOT, NOUT, LERR, OK ) - NT = NT + 9 + INFOT = 13 + CALL SHSEQR( 'E', 'N', 2, 1, 2, A, 2, WR, WI, C, 1, W, 1, + $ INFO ) + CALL CHKXER( 'SHSEQR', INFOT, NOUT, LERR, OK ) + NT = NT + 10 * * SHSEIN * @@ -398,6 +402,43 @@ SUBROUTINE SERRHS( PATH, NUNIT ) $ INFO ) CALL CHKXER( 'STREVC', INFOT, NOUT, LERR, OK ) NT = NT + 7 +* +* STREVC3 +* + SRNAMT = 'STREVC3' + INFOT = 1 + CALL STREVC3( '/', 'A', SEL, 0, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, INFO ) + CALL CHKXER( 'STREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 2 + CALL STREVC3( 'L', '/', SEL, 0, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, INFO ) + CALL CHKXER( 'STREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 4 + CALL STREVC3( 'L', 'A', SEL, -1, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, INFO ) + CALL CHKXER( 'STREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 6 + CALL STREVC3( 'L', 'A', SEL, 2, A, 1, VL, 2, VR, 1, 4, M, W, + $ LW, INFO ) + CALL CHKXER( 'STREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 8 + CALL STREVC3( 'L', 'A', SEL, 2, A, 2, VL, 1, VR, 1, 4, M, W, + $ LW, INFO ) + CALL CHKXER( 'STREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 10 + CALL STREVC3( 'R', 'A', SEL, 2, A, 2, VL, 1, VR, 1, 4, M, W, + $ LW, INFO ) + CALL CHKXER( 'STREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 11 + CALL STREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 1, M, W, + $ LW, INFO ) + CALL CHKXER( 'STREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 14 + CALL STREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 2, M, W, + $ 2, INFO ) + CALL CHKXER( 'STREVC3', INFOT, NOUT, LERR, OK ) + NT = NT + 8 END IF * * Print a summary line. diff --git a/TESTING/EIG/zerrbd.f b/TESTING/EIG/zerrbd.f index f1dde92666..424e448617 100644 --- a/TESTING/EIG/zerrbd.f +++ b/TESTING/EIG/zerrbd.f @@ -21,7 +21,8 @@ *> *> \verbatim *> -*> ZERRBD tests the error exits for ZGEBRD, ZUNGBR, ZUNMBR, and ZBDSQR. +*> ZERRBD tests the error exits for ZGEBD2, ZGEBRD, ZUNGBR, ZUNMBR, +*> and ZBDSQR. *> \endverbatim * * Arguments: @@ -81,7 +82,8 @@ SUBROUTINE ZERRBD( PATH, NUNIT ) EXTERNAL LSAMEN * .. * .. External Subroutines .. - EXTERNAL CHKXER, ZBDSQR, ZGEBRD, ZUNGBR, ZUNMBR + EXTERNAL CHKXER, ZBDSQR, ZGEBD2, ZGEBRD, ZUNGBR, + $ ZUNMBR * .. * .. Scalars in Common .. LOGICAL LERR, OK @@ -132,6 +134,20 @@ SUBROUTINE ZERRBD( PATH, NUNIT ) CALL CHKXER( 'ZGEBRD', INFOT, NOUT, LERR, OK ) NT = NT + 4 * +* ZGEBD2 +* + SRNAMT = 'ZGEBD2' + INFOT = 1 + CALL ZGEBD2( -1, 0, A, 1, D, E, TQ, TP, W, INFO ) + CALL CHKXER( 'ZGEBD2', INFOT, NOUT, LERR, OK ) + INFOT = 2 + CALL ZGEBD2( 0, -1, A, 1, D, E, TQ, TP, W, INFO ) + CALL CHKXER( 'ZGEBD2', INFOT, NOUT, LERR, OK ) + INFOT = 4 + CALL ZGEBD2( 2, 1, A, 1, D, E, TQ, TP, W, INFO ) + CALL CHKXER( 'ZGEBD2', INFOT, NOUT, LERR, OK ) + NT = NT + 3 +* * ZUNGBR * SRNAMT = 'ZUNGBR' diff --git a/TESTING/EIG/zerrhs.f b/TESTING/EIG/zerrhs.f index 5823389477..2eed39a7e4 100644 --- a/TESTING/EIG/zerrhs.f +++ b/TESTING/EIG/zerrhs.f @@ -21,8 +21,8 @@ *> *> \verbatim *> -*> ZERRHS tests the error exits for ZGEBAK, CGEBAL, CGEHRD, ZUNGHR, -*> ZUNMHR, ZHSEQR, CHSEIN, and ZTREVC. +*> ZERRHS tests the error exits for ZGEBAK, ZGEBAL, ZGEHRD, ZUNGHR, +*> ZUNMHR, ZHSEQR, ZHSEIN, ZTREVC, and ZTREVC3. *> \endverbatim * * Arguments: @@ -86,7 +86,7 @@ SUBROUTINE ZERRHS( PATH, NUNIT ) * .. * .. External Subroutines .. EXTERNAL CHKXER, ZGEBAK, ZGEBAL, ZGEHRD, ZHSEIN, ZHSEQR, - $ ZTREVC, ZUNGHR, ZUNMHR + $ ZUNGHR, ZUNMHR, ZTREVC, ZTREVC3 * .. * .. Intrinsic Functions .. INTRINSIC DBLE @@ -389,6 +389,47 @@ SUBROUTINE ZERRHS( PATH, NUNIT ) $ INFO ) CALL CHKXER( 'ZTREVC', INFOT, NOUT, LERR, OK ) NT = NT + 7 +* +* ZTREVC3 +* + SRNAMT = 'ZTREVC3' + INFOT = 1 + CALL ZTREVC3( '/', 'A', SEL, 0, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, RW, 1, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 2 + CALL ZTREVC3( 'L', '/', SEL, 0, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, RW, 1, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 4 + CALL ZTREVC3( 'L', 'A', SEL, -1, A, 1, VL, 1, VR, 1, 0, M, W, + $ LW, RW, 1, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 6 + CALL ZTREVC3( 'L', 'A', SEL, 2, A, 1, VL, 2, VR, 1, 4, M, W, + $ LW, RW, 2, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 8 + CALL ZTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 1, VR, 1, 4, M, W, + $ LW, RW, 2, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 10 + CALL ZTREVC3( 'R', 'A', SEL, 2, A, 2, VL, 1, VR, 1, 4, M, W, + $ LW, RW, 2, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 11 + CALL ZTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 1, M, W, + $ LW, RW, 2, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 14 + CALL ZTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 2, M, W, + $ 2, RW, 2, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + INFOT = 16 + CALL ZTREVC3( 'L', 'A', SEL, 2, A, 2, VL, 2, VR, 1, 2, M, W, + $ LW, RW, 1, INFO ) + CALL CHKXER( 'ZTREVC3', INFOT, NOUT, LERR, OK ) + NT = NT + 9 END IF * * Print a summary line. diff --git a/TESTING/LIN/cerrrfp.f b/TESTING/LIN/cerrrfp.f index 4f2196c32b..02f7781447 100644 --- a/TESTING/LIN/cerrrfp.f +++ b/TESTING/LIN/cerrrfp.f @@ -89,10 +89,10 @@ SUBROUTINE CERRRFP( NUNIT ) * NOUT = NUNIT OK = .TRUE. - A( 1, 1 ) = CMPLX( 1.D0 , 1.D0 ) - B( 1, 1 ) = CMPLX( 1.D0 , 1.D0 ) - ALPHA = CMPLX( 1.D0 , 1.D0 ) - BETA = CMPLX( 1.D0 , 1.D0 ) + A( 1, 1 ) = CMPLX( 1.0 , 1.0 ) + B( 1, 1 ) = CMPLX( 1.0 , 1.0 ) + ALPHA = CMPLX( 1.0 , 1.0 ) + BETA = CMPLX( 1.0 , 1.0 ) * SRNAMT = 'CPFTRF' INFOT = 1 diff --git a/TESTING/LIN/chet01_aa.f b/TESTING/LIN/chet01_aa.f index 8f4ab84e78..196ec7eb31 100644 --- a/TESTING/LIN/chet01_aa.f +++ b/TESTING/LIN/chet01_aa.f @@ -159,7 +159,7 @@ SUBROUTINE CHET01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, EXTERNAL CLASET, CLAVHE * .. * .. Intrinsic Functions .. - INTRINSIC DBLE + INTRINSIC REAL * .. * .. Executable Statements .. * @@ -255,7 +255,7 @@ SUBROUTINE CHET01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, IF( RESID.NE.ZERO ) $ RESID = ONE / EPS ELSE - RESID = ( ( RESID / DBLE( N ) ) / ANORM ) / EPS + RESID = ( ( RESID / REAL( N ) ) / ANORM ) / EPS END IF * RETURN diff --git a/TESTING/LIN/csyt01_aa.f b/TESTING/LIN/csyt01_aa.f index 9b0a0c5e4c..6442922f86 100644 --- a/TESTING/LIN/csyt01_aa.f +++ b/TESTING/LIN/csyt01_aa.f @@ -141,9 +141,10 @@ SUBROUTINE CSYT01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, * * .. Parameters .. REAL ZERO, ONE - PARAMETER ( ZERO = 0.0D+0, ONE = 1.0D+0 ) + PARAMETER ( ZERO = 0.0E+0, ONE = 1.0E+0 ) COMPLEX CZERO, CONE - PARAMETER ( CZERO = 0.0E+0, CONE = 1.0E+0 ) + PARAMETER ( CZERO = ( 0.0E+0, 0.0E+0 ), + $ CONE = ( 1.0E+0, 0.0E+0 ) ) * .. * .. Local Scalars .. INTEGER I, J @@ -158,7 +159,7 @@ SUBROUTINE CSYT01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, EXTERNAL CLASET, CLAVSY * .. * .. Intrinsic Functions .. - INTRINSIC DBLE + INTRINSIC REAL * .. * .. Executable Statements .. * @@ -250,7 +251,7 @@ SUBROUTINE CSYT01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, IF( RESID.NE.ZERO ) $ RESID = ONE / EPS ELSE - RESID = ( ( RESID / DBLE( N ) ) / ANORM ) / EPS + RESID = ( ( RESID / REAL( N ) ) / ANORM ) / EPS END IF * RETURN diff --git a/TESTING/LIN/serrlqt.f b/TESTING/LIN/serrlqt.f index 2a5f9eee26..fe52f88393 100644 --- a/TESTING/LIN/serrlqt.f +++ b/TESTING/LIN/serrlqt.f @@ -101,11 +101,11 @@ SUBROUTINE SERRLQT( PATH, NUNIT ) * DO J = 1, NMAX DO I = 1, NMAX - A( I, J ) = 1.D0 / REAL( I+J ) - C( I, J ) = 1.D0 / REAL( I+J ) - T( I, J ) = 1.D0 / REAL( I+J ) + A( I, J ) = 1. / REAL( I+J ) + C( I, J ) = 1. / REAL( I+J ) + T( I, J ) = 1. / REAL( I+J ) END DO - W( J ) = 0.D0 + W( J ) = 0. END DO OK = .TRUE. * diff --git a/TESTING/LIN/serrlqtp.f b/TESTING/LIN/serrlqtp.f index e06f23f532..1a94853e2f 100644 --- a/TESTING/LIN/serrlqtp.f +++ b/TESTING/LIN/serrlqtp.f @@ -101,11 +101,11 @@ SUBROUTINE SERRLQTP( PATH, NUNIT ) * DO J = 1, NMAX DO I = 1, NMAX - A( I, J ) = 1.D0 / REAL( I+J ) - C( I, J ) = 1.D0 / REAL( I+J ) - T( I, J ) = 1.D0 / REAL( I+J ) + A( I, J ) = 1. / REAL( I+J ) + C( I, J ) = 1. / REAL( I+J ) + T( I, J ) = 1. / REAL( I+J ) END DO - W( J ) = 0.0 + W( J ) = 0. END DO OK = .TRUE. * diff --git a/TESTING/LIN/serrtsqr.f b/TESTING/LIN/serrtsqr.f index 7f25f8b08e..9f972319e1 100644 --- a/TESTING/LIN/serrtsqr.f +++ b/TESTING/LIN/serrtsqr.f @@ -101,11 +101,11 @@ SUBROUTINE SERRTSQR( PATH, NUNIT ) * DO J = 1, NMAX DO I = 1, NMAX - A( I, J ) = 1.D0 / REAL( I+J ) - C( I, J ) = 1.D0 / REAL( I+J ) - T( I, J ) = 1.D0 / REAL( I+J ) + A( I, J ) = 1. / REAL( I+J ) + C( I, J ) = 1. / REAL( I+J ) + T( I, J ) = 1. / REAL( I+J ) END DO - W( J ) = 0.D0 + W( J ) = 0. END DO OK = .TRUE. * diff --git a/TESTING/LIN/ssyt01_aa.f b/TESTING/LIN/ssyt01_aa.f index 470d45c3d4..dd8f69fc2b 100644 --- a/TESTING/LIN/ssyt01_aa.f +++ b/TESTING/LIN/ssyt01_aa.f @@ -156,7 +156,7 @@ SUBROUTINE SSYT01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, EXTERNAL SLASET, SLAVSY, SSWAP, STRMM, SLACPY * .. * .. Intrinsic Functions .. - INTRINSIC DBLE + INTRINSIC REAL * .. * .. Executable Statements .. * @@ -248,7 +248,7 @@ SUBROUTINE SSYT01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, IF( RESID.NE.ZERO ) $ RESID = ONE / EPS ELSE - RESID = ( ( RESID / DBLE( N ) ) / ANORM ) / EPS + RESID = ( ( RESID / REAL( N ) ) / ANORM ) / EPS END IF * RETURN diff --git a/TESTING/LIN/zsyt01_aa.f b/TESTING/LIN/zsyt01_aa.f index 17969d444f..71779938d4 100644 --- a/TESTING/LIN/zsyt01_aa.f +++ b/TESTING/LIN/zsyt01_aa.f @@ -142,8 +142,9 @@ SUBROUTINE ZSYT01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, * .. Parameters .. DOUBLE PRECISION ZERO, ONE PARAMETER ( ZERO = 0.0D+0, ONE = 1.0D+0 ) - COMPLEX*16 CZERO, CONE - PARAMETER ( CZERO = 0.0E+0, CONE = 1.0E+0 ) + COMPLEX*16 CZERO, CONE + PARAMETER ( CZERO = ( 0.0D+0, 0.0D+0 ), + $ CONE = ( 1.0D+0, 0.0D+0 ) ) * .. * .. Local Scalars .. INTEGER I, J