TESTING/LIN: use LSAME for UPLO checks in latsp and latsy
Replace direct UPLO character comparisons in the LATSP and LATSY test helpers with LSAME. This keeps option handling consistent with the LAPACK convention for case-insensitive checks.
This commit is contained in:
@@ -109,7 +109,8 @@
|
||||
* ..
|
||||
* .. External Functions ..
|
||||
COMPLEX CLARND
|
||||
EXTERNAL CLARND
|
||||
LOGICAL LSAME
|
||||
EXTERNAL CLARND, LSAME
|
||||
* ..
|
||||
* .. Intrinsic Functions ..
|
||||
INTRINSIC ABS, SQRT
|
||||
@@ -130,7 +131,7 @@
|
||||
*
|
||||
* UPLO = 'U': Upper triangular storage
|
||||
*
|
||||
IF( UPLO.EQ.'U' ) THEN
|
||||
IF( LSAME( UPLO, 'U' ) ) THEN
|
||||
N5 = N / 5
|
||||
N5 = N - 5*N5 + 1
|
||||
*
|
||||
|
||||
@@ -114,7 +114,8 @@
|
||||
* ..
|
||||
* .. External Functions ..
|
||||
COMPLEX CLARND
|
||||
EXTERNAL CLARND
|
||||
LOGICAL LSAME
|
||||
EXTERNAL CLARND, LSAME
|
||||
* ..
|
||||
* .. Intrinsic Functions ..
|
||||
INTRINSIC ABS, SQRT
|
||||
@@ -129,7 +130,7 @@
|
||||
*
|
||||
* UPLO = 'U': Upper triangular storage
|
||||
*
|
||||
IF( UPLO.EQ.'U' ) THEN
|
||||
IF( LSAME( UPLO, 'U' ) ) THEN
|
||||
*
|
||||
* Fill the upper triangle of the matrix with zeros.
|
||||
*
|
||||
|
||||
@@ -109,7 +109,8 @@
|
||||
* ..
|
||||
* .. External Functions ..
|
||||
COMPLEX*16 ZLARND
|
||||
EXTERNAL ZLARND
|
||||
LOGICAL LSAME
|
||||
EXTERNAL ZLARND, LSAME
|
||||
* ..
|
||||
* .. Intrinsic Functions ..
|
||||
INTRINSIC ABS, SQRT
|
||||
@@ -130,7 +131,7 @@
|
||||
*
|
||||
* UPLO = 'U': Upper triangular storage
|
||||
*
|
||||
IF( UPLO.EQ.'U' ) THEN
|
||||
IF( LSAME( UPLO, 'U' ) ) THEN
|
||||
N5 = N / 5
|
||||
N5 = N - 5*N5 + 1
|
||||
*
|
||||
|
||||
@@ -114,7 +114,8 @@
|
||||
* ..
|
||||
* .. External Functions ..
|
||||
COMPLEX*16 ZLARND
|
||||
EXTERNAL ZLARND
|
||||
LOGICAL LSAME
|
||||
EXTERNAL ZLARND, LSAME
|
||||
* ..
|
||||
* .. Intrinsic Functions ..
|
||||
INTRINSIC ABS, SQRT
|
||||
@@ -129,7 +130,7 @@
|
||||
*
|
||||
* UPLO = 'U': Upper triangular storage
|
||||
*
|
||||
IF( UPLO.EQ.'U' ) THEN
|
||||
IF( LSAME( UPLO, 'U' ) ) THEN
|
||||
*
|
||||
* Fill the upper triangle of the matrix with zeros.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user