Skip to content

Commit 7744f9e

Browse files
martin-frbgh-vetinari
authored andcommitted
Fix incorrect argument to SLASET
Reference-LAPACK issue 425 (and 318) Suggested-By: Serguei Patchkovskii <Serguei.Patchkovskii@gmail.com>
1 parent 7d8e2f0 commit 7744f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)