Fix uninitialized M in quick return (Reference-LAPACK 769)

This commit is contained in:
Martin Kroeker 2022-12-03 16:17:54 +01:00 committed by GitHub
parent 0a24f631e9
commit 9307b0fabc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -381,6 +381,7 @@
* .. Executable Statements ..
*
INFO = 0
M = 0
*
* Quick return if possible
*
@ -424,14 +425,9 @@
END IF
* Initialize error flags
INFO = 0
NCNVRG = .FALSE.
TOOFEW = .FALSE.
* Quick return if possible
M = 0
IF( N.EQ.0 ) RETURN
* Simplification:
IF( IRANGE.EQ.INDRNG .AND. IL.EQ.1 .AND. IU.EQ.N ) IRANGE = 1