Skip to content

orbdb/unbdb: Fix XERBLA routine name 'xORBDB' - #1453

Merged
jschueller merged 2 commits into
Reference-LAPACK:masterfrom
jschueller:issue1312-src2
Oct 28, 2026
Merged

jschueller merged 2 commits into
Reference-LAPACK:masterfrom
jschueller:issue1312-src2

Conversation

@jschueller

Copy link
Copy Markdown
Collaborator

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

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
@mohawk2

mohawk2 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

I'm slightly worried that the tests don't catch this.

@jschueller jschueller mentioned this pull request Oct 26, 2026
@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.72%. Comparing base (6a1a8b8) to head (c48ca24).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           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           
Components Coverage Δ
BLAS 99.76% <ø> (ø)
CBLAS 96.98% <ø> (ø)
LAPACK 82.67% <100.00%> (+0.01%) ⬆️
LAPACKE 2.15% <ø> (ø)
TMGLIB 55.69% <ø> (ø)
BLAS testing 88.77% <ø> (ø)
CBLAS testing 89.63% <ø> (ø)
LAPACK testing 82.25% <100.00%> (+<0.01%) ⬆️
LAPACKE testing ∅ <ø> (∅)
Files with missing lines Coverage Δ
SRC/cunbdb.f 90.41% <100.00%> (+2.99%) ⬆️
SRC/dorbdb.f 89.88% <100.00%> (+2.97%) ⬆️
SRC/sorbdb.f 89.88% <100.00%> (+2.97%) ⬆️
SRC/zunbdb.f 90.41% <100.00%> (+2.99%) ⬆️
TESTING/EIG/cerrgg.f 99.86% <100.00%> (+<0.01%) ⬆️
TESTING/EIG/derrgg.f 99.86% <100.00%> (+<0.01%) ⬆️
TESTING/EIG/serrgg.f 99.86% <100.00%> (+<0.01%) ⬆️
TESTING/EIG/zerrgg.f 99.86% <100.00%> (+<0.01%) ⬆️

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a1a8b8...c48ca24. Read the comment docs.

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 mohawk2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jschueller
jschueller merged commit 5057710 into Reference-LAPACK:master Oct 28, 2026
47 checks passed
@jschueller
jschueller deleted the issue1312-src2 branch October 28, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants