Skip to content

Commit 76d2612

Browse files
authored
BUG: Fix the loop range in ZHEEQUB.f
1 parent 4a4c50a commit 76d2612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lapack-netlib/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)