Bump compat for OrdinaryDiffEq v7 / SciMLBase v3 ecosystem#69
Merged
ChrisRackauckas merged 1 commit intoJun 7, 2026
Merged
Conversation
- Bump StochasticDiffEq compat from "6.28" to "6.28, 7" - Fix EnsembleSolution indexing: SciMLBase v3 changed EnsembleSolution to a 2D array; replace sol[i].u with sol.u[i].u and eachindex(sol) with eachindex(sol.u) in tests - Fix integer literals S0=100, t=0 to Float64 in tests; new ecosystem enforces strict type matching and no longer auto-promotes Int to Float in SDE solvers Refs: SciML/OrdinaryDiffEq.jl#3562, SciML/OrdinaryDiffEq.jl#3565 Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
a8ec520 to
c21125e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
StochasticDiffEqcompat from"6.28"to"6.28, 7"to allow the new v7 major per Cascade major version bump across all sublibs OrdinaryDiffEq.jl#3562 and Revert OrdinaryDiffEqCore and DiffEqDevTools major bumps from #3562 OrdinaryDiffEq.jl#3565 cascade bumps.EnsembleSolutionindexing in tests: SciMLBase v3 changedEnsembleSolutionto a 2D array (shape(timesteps, trajectories)), sosol[i]now returns a scalarFloat64rather than a trajectoryRODESolution. Updated all three Monte Carlo test blocks to usesol.u[i].u[end]/eachindex(sol.u)instead ofsol[i].u[end]/eachindex(sol).S0 = 100andt = 0to100.0/0.0in the Core Tests block; SciMLBase v3 / StochasticDiffEq v7 no longer auto-promotesIntinitial conditions in SDE solvers.All 106 tests pass locally with StochasticDiffEq v7.0.0 and SciMLBase v3.6.0.
References
Test plan
Pkg.test()run locally — 106 passed, 0 failed, 0 errored🤖 Generated with Claude Code