Repository navigation
orbdb/unbdb: Fix XERBLA routine name 'xORBDB' - #1453
Merged
Merged
Conversation
The four routines DORBDB, SORBDB, CUNBDB and ZUNBDB passed the literal 'xORBDB' to XERBLA, so an invalid-argument error reported the wrong name (e.g. DORBDB with invalid M reported 'xORBDB', -3). Pass the actual routine name instead. The numerical path is unaffected. Part of Reference-LAPACK#1312
Contributor
|
I'm slightly worried that the tests don't catch this. |
Closed
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1453 +/- ##
=======================================
Coverage 69.72% 69.72%
=======================================
Files 6204 6204
Lines 497194 497238 +44
Branches 23430 23430
=======================================
+ Hits 346652 346716 +64
+ Misses 150116 150096 -20
Partials 426 426
Continue to review full report in Codecov by Harness.
|
DORBDB, SORBDB, CUNBDB and ZUNBDB are only reachable through their xORCSD/xUNCSD drivers with pre-validated arguments, so their own XERBLA call (fixed in the SRC-2 commit for the 'xORBDB' name) had no test coverage. Add INFOT=3/4/5 checks (M/P/Q) to the CSD path of SERRGG/DERRGG/CERRGG/ZERRGG. The TESTING XERBLA harness compares SRNAME exactly, so these fail on the old 'xORBDB' literal and pass with the fix. Part of Reference-LAPACK#1312
mohawk2
approved these changes
Oct 27, 2026
mohawk2
left a comment
Contributor
There was a problem hiding this comment.
Further to my comment before, I see that the tests added here would have caught this, so all is good, and I believe this is a material improvement.
ACSimon33
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The four routines DORBDB, SORBDB, CUNBDB and ZUNBDB passed the literal 'xORBDB' to XERBLA, so an invalid-argument error reported the wrong name (e.g. DORBDB with invalid M reported 'xORBDB', -3). Pass the actual routine name instead. The numerical path is unaffected.
Part of #1312