Skip to content

Commit 597010a

Browse files
authored
Fix incorrect argument to SLASET
Reference-LAPACK issue 425 (and 318)
1 parent d64f1ef commit 597010a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)