Browse Source

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

tags/v0.3.22^2
Martin Kroeker GitHub 2 years ago
parent
commit
9307b0fabc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      lapack-netlib/SRC/dlarrd.f

+ 1
- 5
lapack-netlib/SRC/dlarrd.f 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



Loading…
Cancel
Save