Repository navigation
Allow unit leading dimensions for unused eigenvectors in row-major TRSNA - #1523
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1523 +/- ##
==========================================
+ Coverage 70.65% 70.70% +0.04%
==========================================
Files 6243 6243
Lines 501410 501402 -8
Branches 23516 23516
==========================================
+ Hits 354296 354500 +204
+ Misses 146251 145951 -300
- Partials 863 951 +88
... and 8 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
|
If you're using a coding agent, you should probably disclose that. And I'm pretty sure that reducing proportional test coverage is not in the best interest of the project. |
|
Thanks for raising this. I used Codex to implement the change and Claude to review the code and tests. In 13f9e66 I added row-major tests for both the passing and failing cases of each leading-dimension check, including jobs that read the eigenvectors and the empty-matrix case. With gcov, all six branch outcomes on the changed checks were exercised in each of the four precisions. All 40 LAPACKE CTest targets passed locally. |
|
I see you're now getting 100% coverage on the patch, nice! I haven't looked at your other PRs, might be useful to ensure the same applies there if you didn't already. Still none of my business, but it's probably most useful to put the disclosure stuff in the opening of the PR "comment" at the top. However, I'll let wiser and/or more knowledgeable people comment on that :-) |
|
Thanks for the suggestions, @mohawk2. I've added the AI disclosure at the top of the PR description and checked the other two PRs. Codecov reports 100% patch coverage for #1524, with all 24 coverable lines fully covered. For #1525, patch coverage is 66.67%. Of its 24 coverable lines, 16 are fully covered and 8 are partially covered. |
I used Codex to implement this change and Claude to review the code and tests.
Description
With
JOB='V',TRSNAestimates eigenvector separations without readingVLorVR. Ondiag(1, 3), a column-major call withLDVL=LDVR=1returns two separation estimates of 2. The same call in row-major order returns-9.The row-major wrappers now accept a leading dimension of one for these unused arrays. Jobs that read the eigenvectors still require space for
MMcolumns.The regression checks the eigenpair count and both separation estimates in both layouts. All eight LAPACKE high-level test executables passed on Linux across the four precisions and both integer APIs.
Checklist