Commit d8c8a53
Remove dead has_destats re-export; revert Hard DAE assertion (#3479)
- `has_destats` was removed from SciMLBase v3 but DiffEqBase still
re-exported it, producing `UndefVarError: has_destats` at precompile
on the registered DiffEqBase used by Julia 1.10 (which ignores
[sources]). The symbol is unused in this repo — drop it from the
import list.
- `test/regression/hard_dae.jl:305`: revert the assertion to
`abs(sol(2-2^-10, idxs=1)) <= 1e-4`. The `hardstop!` DAE with
mass matrix `Diagonal([1,0,1])` only makes `u[2]` algebraic;
gravity (`du[3] = pg` for `t<2`) drives `u[1]` from 5 down, and
the `y<=0` branch of the algebraic law pins `y≈0` well before
`t=2`. The earlier `≈ 5.0` assertion was wrong.
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4 (1M context) <noreply@anthropic.com>1 parent 12b0db6 commit d8c8a53
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
| 303 | + | |
306 | 304 | | |
307 | 305 | | |
0 commit comments