feat(linear-static-3d-euler-beam): step 9 - dense-math-adapters-review-fix
This commit is contained in:
@@ -127,3 +127,20 @@
|
||||
- handoff: backend-free `fesa::Vector` and `fesa::Matrix` public APIs, with owning
|
||||
dense storage and checked BLAS operations, are available to Step 10 and later
|
||||
DOF/element/assembly tasks.
|
||||
|
||||
### Review Fix Round 1 — matrix-storage-size-overflow
|
||||
|
||||
- regression_test: `tests/unit/math/matrix_test.cpp` now constructs
|
||||
`Matrix{SIZE_MAX / 2 + 1, 2}` and requires `std::length_error`.
|
||||
- RED: `cmake --build .harness/build --config Debug --target fesa_tests` exited 0;
|
||||
`ctest --test-dir .harness/build -C Debug -R DenseMath --output-on-failure`
|
||||
exited 8 with 1/2 failures because the wraparound constructor threw nothing.
|
||||
- fix: `Matrix` computes its storage size through a checked helper before vector
|
||||
construction and rejects exactly `columns != 0 && rows > SIZE_MAX / columns`.
|
||||
- GREEN: the same targeted build and DenseMath CTest commands exited 0; 2/2 passed.
|
||||
- VERIFY: approved MSVC x64 configure and full Debug build exited 0; targeted
|
||||
DenseMath passed 2/2, discovery found 7 tests, and the full suite passed 7/7.
|
||||
The public-header MKL scan had zero matches, `git diff --check` exited 0, and
|
||||
`git diff --exit-code -- reference/` exited 0.
|
||||
- scope: the deferred empty-dot review minor was not changed, reference artifacts
|
||||
remain untouched, and phase Step 9 status/timestamps were not modified.
|
||||
|
||||
Reference in New Issue
Block a user