Skip to content

Commit 4758c86

Browse files
authored
Merge pull request #1131 from angsch/czgeqp3rk
Fix bypassing corner cases due to uninitialized variable in [c,z]geqp3rk
2 parents 2475f7b + b5b4661 commit 4758c86

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

SRC/cgeqp3rk.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@ SUBROUTINE CGEQP3RK( M, N, NRHS, KMAX, ABSTOL, RELTOL, A, LDA,
751751
* for the whole original matrix stored in A(1:M,1:N).
752752
*
753753
KP1 = ISAMAX( N, RWORK( 1 ), 1 )
754+
MAXC2NRM = RWORK( KP1 )
754755
*
755756
* ==================================================================.
756757
*

SRC/zgeqp3rk.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ SUBROUTINE ZGEQP3RK( M, N, NRHS, KMAX, ABSTOL, RELTOL, A, LDA,
750750
* for the whole original matrix stored in A(1:M,1:N).
751751
*
752752
KP1 = IDAMAX( N, RWORK( 1 ), 1 )
753+
MAXC2NRM = RWORK( KP1 )
753754
*
754755
* ==================================================================.
755756
*

0 commit comments

Comments
 (0)