Skip to content

Commit 773eb18

Browse files
authored
Merge pull request #408 from ilayn/patch-1
Fix the loop index scalar in ZHEEQUB.f
2 parents 75611e7 + c80ba37 commit 773eb18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SRC/zheequb.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ SUBROUTINE ZHEEQUB( UPLO, N, A, LDA, S, SCOND, AMAX, WORK, INFO )
271271
AVG = AVG / N
272272

273273
STD = 0.0D0
274-
DO I = N+1, N
274+
DO I = N+1, 2*N
275275
WORK( I ) = S( I-N ) * WORK( I-N ) - AVG
276276
END DO
277277
CALL ZLASSQ( N, WORK( N+1 ), 1, SCALE, SUMSQ )

0 commit comments

Comments
 (0)