Skip to content

syamv/heamv: Fix SYMB_ZERO strided indexing - #1394

Merged
langou merged 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue1312
Oct 19, 2026
Merged

langou merged 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue1312

Conversation

@jschueller

Copy link
Copy Markdown
Collaborator

In INCX != 1 branches SYMB_ZERO test used X(J) instead of X(JX), while accumulation correctly used X(JX). Fix to X(JX) for dla/sla/cla/zla_syamv.f and cla/zla_heamv.f (4 occurrences each, both UPLO variants). Restores correct symbolic-zero perturbation (SAFE1) for error-bound estimation with strided X.

part of #1312

@jschueller jschueller mentioned this pull request Sep 8, 2026
@codecov

codecov Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.39%. Comparing base (6de9594) to head (39ff626).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1394   +/-   ##
=======================================
  Coverage   69.39%   69.39%           
=======================================
  Files        6122     6122           
  Lines      487623   487623           
  Branches    23268    23268           
=======================================
  Hits       338408   338408           
  Misses     148781   148781           
  Partials      434      434           
Components Coverage Δ
BLAS 99.13% <ø> (ø)
CBLAS 96.98% <ø> (ø)
LAPACK 82.30% <ø> (ø)
LAPACKE 2.17% <ø> (ø)
TMGLIB 55.69% <ø> (ø)
BLAS testing 88.54% <ø> (ø)
CBLAS testing 89.63% <ø> (ø)
LAPACK testing 82.21% <ø> (ø)
LAPACKE testing ∅ <ø> (∅)

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 6de9594...39ff626. Read the comment docs.

In INCX != 1 branches SYMB_ZERO test used X(J) instead of X(JX),
while accumulation correctly used X(JX). Fix to X(JX) for
dla/sla/cla/zla_syamv.f and cla/zla_heamv.f (4 occurrences each,
both UPLO variants). Restores correct symbolic-zero perturbation
(SAFE1) for error-bound estimation with strided X.

@langou langou 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.

Good catch.

@langou
langou merged commit 8a2bad4 into Reference-LAPACK:master Oct 19, 2026
47 checks passed
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.

2 participants