Commit 1653d43
Fix crash in CosetLeadersMatFFE
Reject matrices with dependent rows before building the
internal search tables for CosetLeadersMatFFE. This avoids
a crash in the 8-bit path and restores correct behaviour
for square full-rank inputs.
AI assistance: Codex reproduced the crash, traced it to
the internal row-independence assumption, added a
regression test, and prepared the fix.
Co-authored-by: Codex <codex@openai.com>1 parent 96c73b4 commit 1653d43
File tree
2 files changed
+13
-1
lines changed- lib
- tst/testbugfix
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1516 | 1516 | | |
1517 | 1517 | | |
1518 | 1518 | | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
1519 | 1524 | | |
1520 | 1525 | | |
1521 | 1526 | | |
1522 | | - | |
1523 | 1527 | | |
1524 | 1528 | | |
1525 | 1529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments