Skip to content

Commit

Permalink
Fix potential bounds error (Reference-LAPACK PR 1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored May 23, 2024
1 parent 791e015 commit 7ebbe3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lapack-netlib/SRC/zunhr_col.f
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ SUBROUTINE ZUNHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
*
JBTEMP2 = JB - 2
DO J = JB, JB+JNB-2
DO I = J-JBTEMP2, NB
DO I = J-JBTEMP2, MIN( NB, N )
T( I, J ) = CZERO
END DO
END DO
Expand All @@ -436,4 +436,4 @@ SUBROUTINE ZUNHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
*
* End of ZUNHR_COL
*
END
END

0 comments on commit 7ebbe3c

Please sign in to comment.