Skip to content

[throwaway] Diagnose brandts on Apple Accelerate (#68) - #73

Closed
Marius1311 wants to merge 2 commits into
mainfrom
diag/accelerate-68
Closed

Marius1311 wants to merge 2 commits into
mainfrom
diag/accelerate-68

Conversation

@Marius1311

Copy link
Copy Markdown
Collaborator

Diagnostic run for #68, not for merging. Adds a macOS job that installs numpy/scipy from PyPI (linked against Apple Accelerate) and runs .github/scripts/diag_accelerate.py before the tests. The script reports properties of the unsorted Schur form, the residual after each Brandts swap, and the same metrics for a LAPACK dtrexc sort.

Part of #70.

🤖 Generated with Claude Code

Adds a macOS job on PyPI wheels and a diagnostic script that traces each Brandts swap and compares with LAPACK dtrexc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Marius1311

Copy link
Copy Markdown
Collaborator Author

Diagnosis done: on Accelerate, schur() and every Brandts swap are accurate (residuals ~1e-15), but Brandts can leave conjugate pairs negative-imaginary-first, which _check_conj_split missed. Fixed in #75, which also keeps a macOS job on PyPI wheels.

@Marius1311 Marius1311 closed this Nov 13, 2026
@Marius1311
Marius1311 deleted the diag/accelerate-68 branch November 13, 2026 13:27
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