Skip to content

Revert "Avoid memory corruption with non-finite inputs in ?GEEV" #1142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SRC/cgeev.f
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ SUBROUTINE CGEEV( JOBVL, JOBVR, N, A, LDA, W, VL, LDVL, VR,
* Undo scaling if necessary
*
50 CONTINUE
IF( SCALEA .AND. INFO.GE.0) THEN
IF( SCALEA ) THEN
CALL CLASCL( 'G', 0, 0, CSCALE, ANRM, N-INFO, 1,
$ W( INFO+1 ),
$ MAX( N-INFO, 1 ), IERR )
Expand Down
2 changes: 1 addition & 1 deletion SRC/dgeev.f
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ SUBROUTINE DGEEV( JOBVL, JOBVR, N, A, LDA, WR, WI, VL, LDVL,
* Undo scaling if necessary
*
50 CONTINUE
IF( SCALEA .AND. INFO.GE.0 ) THEN
IF( SCALEA ) THEN
CALL DLASCL( 'G', 0, 0, CSCALE, ANRM, N-INFO, 1,
$ WR( INFO+1 ),
$ MAX( N-INFO, 1 ), IERR )
Expand Down
2 changes: 1 addition & 1 deletion SRC/sgeev.f
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ SUBROUTINE SGEEV( JOBVL, JOBVR, N, A, LDA, WR, WI, VL, LDVL,
* Undo scaling if necessary
*
50 CONTINUE
IF( SCALEA .AND. INFO.GE.0 ) THEN
IF( SCALEA ) THEN
CALL SLASCL( 'G', 0, 0, CSCALE, ANRM, N-INFO, 1,
$ WR( INFO+1 ),
$ MAX( N-INFO, 1 ), IERR )
Expand Down
2 changes: 1 addition & 1 deletion SRC/zgeev.f
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ SUBROUTINE ZGEEV( JOBVL, JOBVR, N, A, LDA, W, VL, LDVL, VR,
* Undo scaling if necessary
*
50 CONTINUE
IF( SCALEA .AND.INFO.GE.0) THEN
IF( SCALEA ) THEN
CALL ZLASCL( 'G', 0, 0, CSCALE, ANRM, N-INFO, 1,
$ W( INFO+1 ),
$ MAX( N-INFO, 1 ), IERR )
Expand Down