Commit 29cd4e2
Fix v7 CI: iterate eachindex(sol.u) in dense_tests, source DiffEqDevTools in DelayDiffEq
- test/regression/ode_dense_tests.jl
Under RecursiveArrayTools v4 `eachindex(sol2)` returns the
CartesianIndices over the full solution tensor (u_dims..., nsteps),
not the 1:nsteps range it returned under v3. `sol2.u[i]` /
`interpolation_results_2d[i]` then tried a 3-index lookup into
`Vector{Matrix{Float64}}` and threw `BoundsError [i, j, k]`. Iterate
`eachindex(sol2.u)` instead to drive the per-timestep comparison the
test actually means. Fixes the Dense Tests errors in Regression_I on
1/1.11/pre.
- lib/DelayDiffEq/Project.toml
Add `DiffEqDevTools = {path = "../DiffEqDevTools"}` to `[sources]`.
DelayDiffEq's test target pulls in path-sourced StochasticDiffEqLowOrder
which now pins RecursiveArrayTools v4 (via the v7 SciMLBase/RAT bump).
All currently-registered DiffEqDevTools versions restrict RAT to < 4, so
the env fails to resolve with ``Unsatisfiable requirements detected for
package DiffEqDevTools [f3b72e0c]: restricted by compatibility
requirements with RecursiveArrayTools to versions: uninstalled``. The
local lib/DiffEqDevTools already declares RAT 4 and SciMLBase 3, so
path-sourcing it unblocks the resolve on all four DelayDiffEq test
groups (Integrators / Interface / QA / Regression).
Scope intentionally narrow: other sublibraries that list DiffEqDevTools
in [extras] without [sources] still pass CI because their test envs
don't pull in a path package that forces RAT 4; they can be migrated
later as the registered SciMLBase-v3 DiffEqDevTools lands.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent edb51ea commit 29cd4e2
File tree
2 files changed
+6
-1
lines changed- lib/DelayDiffEq
- test/regression
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
0 commit comments