Commit 7561c88
committed
Update downstream test for OrdinaryDiffEq API changes
Two upstream breaking changes had silently broken the Tridiagonal
solve test on master since (at least) 2026-04-16:
- `Rodas4P` is no longer reexported by the OrdinaryDiffEq meta-package;
it now lives in OrdinaryDiffEqRosenbrock.
- `autodiff::Bool` is no longer accepted; you must pass an ADTypes
specifier such as `AutoFiniteDiff()`.
Switch to those new APIs (and update the Project.toml deps) so the
downstream test exercises the FiniteDiff path again. The expected
gradient value drifts slightly with solver internals between releases,
so use a loose `atol=1e-2` — this test is a smoke test that
differentiation through a Rosenbrock solver with a Tridiagonal jacobian
prototype works, not a tight numeric regression.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>1 parent 6b17951 commit 7561c88
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
0 commit comments