Skip to content

Commit 43a31b7

Browse files
authored
Merge pull request #2823 from martin-frbg/fix2778
Improve fix for lapack-test EIG/cchkhb2stg from PR 2778
2 parents 70a254d + 8a2a137 commit 43a31b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
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 SLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
684-
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
683+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, N )
684+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, N )
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 SLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
757-
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
756+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, N )
757+
CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, N )
758758
CALL CLACPY( ' ', K+1, N, A, LDA, U, LDU )
759759
LH = MAX(1, 4*N)
760760
LW = LWORK - LH

0 commit comments

Comments
 (0)