Skip to content

FIX: Revert the conjugation removal in zunbdb3#1196

Merged
langou merged 1 commit into
Reference-LAPACK:masterfrom
ilayn:fix_zunbdb3
Mar 24, 2026
Merged

FIX: Revert the conjugation removal in zunbdb3#1196
langou merged 1 commit into
Reference-LAPACK:masterfrom
ilayn:fix_zunbdb3

Conversation

@ilayn
Copy link
Copy Markdown
Contributor

@ilayn ilayn commented Mar 5, 2026

Description

In the C translation work I found out a particular test case failing for both semicolon-lapack, and Reference LAPACK however passing with OpenBLAS, since it did not have the latest additions. Further investigation shows that a crucial step was accidentally removed.

In particular, there was an explicit conjugation step that is removed in #1020, causing certain tests fail (zckcsd.f for CS decomposition). This PR fixes this removal. The single precision is not affected hence left untouched.

Checklist

  • The documentation has been updated.
  • If the PR solves a specific issue, it is set to be closed on merge.

@ilayn ilayn closed this Mar 5, 2026
@ilayn
Copy link
Copy Markdown
Contributor Author

ilayn commented Mar 5, 2026

I'm not sure about this change. I'll investigate a bit more and reopen after validating.

@ilayn ilayn reopened this Mar 5, 2026
Copy link
Copy Markdown
Contributor

@langou langou left a comment

Choose a reason for hiding this comment

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

Crazy. Thanks for spotting this.

@langou langou merged commit b760323 into Reference-LAPACK:master Mar 24, 2026
23 checks passed
@ilayn ilayn deleted the fix_zunbdb3 branch March 25, 2026 00:31
nakatamaho added a commit to nakatamaho/mplapack that referenced this pull request Apr 14, 2026
Add the upstream ZUNBDB3 fix that conjugates the X21 row before
generating and applying the right Householder reflector. The row is
already conjugated again afterward, so this makes the reflector operate
with the expected complex vector convention while preserving the stored
data layout.

Register the LAPACK 3.12.1 patch, include it in EXTRA_DIST, and mirror
the fix in the generated Cunbdb3 reference implementation.

Enable the LAPACK 3.12.1 CSD input patch in the fable test patch flow,
which adds small M/P/Q edge cases to csd.in.

see also: Reference-LAPACK/lapack#1232
          Reference-LAPACK/lapack#1196
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