Skip to content

Commit 7d8e2f0

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 0bba131 commit 7d8e2f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

0 commit comments

Comments
 (0)