-
Notifications
You must be signed in to change notification settings - Fork 468
Fix the quick return code in Eigen subroutines #1034
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -373,6 +373,8 @@ SUBROUTINE CGEESX( JOBVS, SORT, SELECT, SENSE, N, A, LDA, SDIM, | |
* | ||
IF( N.EQ.0 ) THEN | ||
SDIM = 0 | ||
IF (WANTSE .OR. WANTSB) RCONDE = 1.0E0 | ||
IF (WANTSV .OR. WANTSB) RCONDV = 0.0E0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
RETURN | ||
END IF | ||
* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -382,8 +382,11 @@ SUBROUTINE CHBEVX( JOBZ, RANGE, UPLO, N, KD, AB, LDAB, Q, LDQ, | |
END IF | ||
IF( M.EQ.1 ) THEN | ||
W( 1 ) = REAL( CTMP1 ) | ||
IF( WANTZ ) | ||
$ Z( 1, 1 ) = CONE | ||
IF( WANTZ ) THEN | ||
Q( 1, 1 ) = ONE | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To have matching types: Please also check precision 'z'. |
||
Z( 1, 1 ) = ONE | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
IFAIL(1) = 0 | ||
ENDIF | ||
END IF | ||
RETURN | ||
END IF | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -390,8 +390,10 @@ SUBROUTINE CHEEVX( JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, | |
W( 1 ) = REAL( A( 1, 1 ) ) | ||
END IF | ||
END IF | ||
IF( WANTZ ) | ||
$ Z( 1, 1 ) = CONE | ||
IF( WANTZ ) THEN | ||
Z( 1, 1 ) = ONE | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
IFAIL(1) = 0 | ||
ENDIF | ||
RETURN | ||
END IF | ||
* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -373,8 +373,11 @@ SUBROUTINE DSBEVX( JOBZ, RANGE, UPLO, N, KD, AB, LDAB, Q, LDQ, | |
END IF | ||
IF( M.EQ.1 ) THEN | ||
W( 1 ) = TMP1 | ||
IF( WANTZ ) | ||
$ Z( 1, 1 ) = ONE | ||
IF( WANTZ ) THEN | ||
Q( 1, 1 ) = ONE | ||
Z( 1, 1 ) = ONE | ||
IFAIL(1) = ZERO | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To have matching types: |
||
ENDIF | ||
END IF | ||
RETURN | ||
END IF | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not
RCONDE = ONE
? (same question for other precisions)