Skip to content

Commit c61771e

Browse files
authored
Merge pull request #2778 from martin-frbg/lapackeig
Fix various wrong calls to SLASET/DLASET in the EIG part of the LAPACK testsuite
2 parents c7ef717 + 597010a commit c61771e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

lapack-netlib/TESTING/EIG/cchkhb2stg.f

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -680,8 +680,8 @@ SUBROUTINE CCHKHB2STG( NSIZES, NN, NWDTHS, KK, NTYPES, DOTYPE,
680680
* the one from above. Compare it with D1 computed
681681
* using the DSBTRD.
682682
*
683-
CALL DLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
684-
CALL DLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
683+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
684+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
685685
CALL CLACPY( ' ', K+1, N, A, LDA, U, LDU )
686686
LH = MAX(1, 4*N)
687687
LW = LWORK - LH
@@ -753,8 +753,8 @@ SUBROUTINE CCHKHB2STG( NSIZES, NN, NWDTHS, KK, NTYPES, DOTYPE,
753753
* the one from above. Compare it with D1 computed
754754
* using the DSBTRD.
755755
*
756-
CALL DLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
757-
CALL DLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
756+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
757+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
758758
CALL CLACPY( ' ', K+1, N, A, LDA, U, LDU )
759759
LH = MAX(1, 4*N)
760760
LW = LWORK - LH

lapack-netlib/TESTING/EIG/schksb2stg.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,8 @@ SUBROUTINE SCHKSB2STG( NSIZES, NN, NWDTHS, KK, NTYPES, DOTYPE,
670670
* the one from above. Compare it with D1 computed
671671
* using the SSBTRD.
672672
*
673-
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
674-
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
673+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, N )
674+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, N )
675675
CALL SLACPY( ' ', K+1, N, A, LDA, U, LDU )
676676
LH = MAX(1, 4*N)
677677
LW = LWORK - LH

lapack-netlib/TESTING/EIG/schkst2stg.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,8 +999,8 @@ SUBROUTINE SCHKST2STG( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH,
999999
* the one from above. Compare it with D1 computed
10001000
* using the 1-stage.
10011001
*
1002-
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
1003-
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
1002+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, N )
1003+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, N )
10041004
CALL SLACPY( "U", N, N, A, LDA, V, LDU )
10051005
LH = MAX(1, 4*N)
10061006
LW = LWORK - LH

0 commit comments

Comments
 (0)