Skip to content

TESTING/EIG: use named constants in errgg and zerrhs tests#1237

Open
nakatamaho wants to merge 2 commits intoReference-LAPACK:masterfrom
nakatamaho:cleanup/testing-eig-errgg-zerrhs-constants
Open

TESTING/EIG: use named constants in errgg and zerrhs tests#1237
nakatamaho wants to merge 2 commits intoReference-LAPACK:masterfrom
nakatamaho:cleanup/testing-eig-errgg-zerrhs-constants

Conversation

@nakatamaho
Copy link
Copy Markdown
Contributor

@nakatamaho nakatamaho commented Apr 13, 2026

This PR replaces hard-coded floating-point constants with named constants in selected TESTING/EIG error-exit tests.

Files updated:

TESTING/EIG/cerrgg.f
TESTING/EIG/derrgg.f
TESTING/EIG/serrgg.f
TESTING/EIG/zerrgg.f
TESTING/EIG/zerrhs.f

Summary:

  • Normalize ZERO, ONE parameter ordering in *errgg.f.
  • Replace hard-coded tolerance initialization values with ONE.
  • Add ONE in zerrhs.f and use it for matrix initialization.

…it tests

Reorder ZERO and ONE declarations and PARAMETER definitions
for consistency in the TESTING/EIG error-exit test sources.

No functional change intended.
Replace hard-coded floating-point constants with named constants in selected TESTING/EIG error-exit tests. This keeps the test setup code consistent with surrounding LAPACK test style.
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.

1 participant