Repository navigation
Accept a dummy array for the unused side of row-major TREVC - #1524
Merged
langou merged 4 commits intoNov 29, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1524 +/- ##
==========================================
+ Coverage 70.74% 70.79% +0.04%
==========================================
Files 6243 6243
Lines 501696 501708 +12
Branches 23516 23516
==========================================
+ Hits 354930 355168 +238
+ Misses 145701 145413 -288
- Partials 1065 1127 +62
... and 8 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
langou
previously approved these changes
Nov 29, 2026
langou
approved these changes
Nov 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
TREVCcallers requesting only left or only right eigenvectors can pass a one-element dummy array for the other side. With a 2×2 matrix and a leading dimension of one for that array, the column-major call succeeds. The row-major wrapper returns-9forSIDE='R'or-11forSIDE='L'.The row-major wrappers now check the requested output against
MMand allow a unit leading dimension for the unused side.The regression requests each side of
diag(1, 3)in both layouts and checks the eigenvector count and which eigenvector entries are nonzero. All eight LAPACKE high-level test executables passed on Linux across the four precisions and both integer APIs.Checklist