Commit 0bdb927
Gate lu_refactorization wrapper-elision ceilings on Julia 1.12
The zero-allocation assertions introduced in SciML#1082 assume the returned
LinearSolution wrapper is elided at testset scope, which holds on 1.12+
but not on 1.11 (which CI never runs: lts/1/pre = 1.10/1.12/pre). The
failure reproduces identically on unmodified main under 1.11 (48 bytes
there; 32 with the 5.0 lightweight solution). Allow the boxed wrapper
(<= 48 bytes) on 1.11 only; a leaked pivot vector would add
>= n * sizeof(Int) on top, so the reuse assertions remain meaningful.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>1 parent af74ae5 commit 0bdb927
1 file changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
10 | 20 | | |
11 | 21 | | |
12 | 22 | | |
| |||
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
31 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
32 | 45 | | |
33 | 46 | | |
34 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
35 | 52 | | |
36 | | - | |
37 | 53 | | |
38 | 54 | | |
39 | 55 | | |
| |||
163 | 179 | | |
164 | 180 | | |
165 | 181 | | |
166 | | - | |
| 182 | + | |
167 | 183 | | |
168 | 184 | | |
169 | 185 | | |
0 commit comments