Repository navigation
Raise the NonlinearSolve Core compat floor - #4324
Merged
ChrisRackauckas merged 1 commit intoAug 22, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
Co-Authored-By: Chris Rackauckas <[email protected]>
ChrisRackauckas-Claude
force-pushed
the
fix/nonlinear-core-compat
branch
from
August 21, 2026 09:14
066ee58 to
6e0d366
Compare
ChrisRackauckas
marked this pull request as ready for review
August 22, 2026 07:20
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.
Ignore this PR until it has been reviewed by @ChrisRackauckas.
What changed and why
Raise OrdinaryDiffEqNonlinearSolve's
OrdinaryDiffEqCorecompatibility floor from 4.12 to 4.13. The nonlinear mass-matrix inference tests use the statically resolvableDiagonal.diagpath added in OrdinaryDiffEqCore 4.13.0; the old floor let downgrade resolution select 4.12.0, where the existing Rodas4@inferredchecks inferAny.This is a one-line compatibility-only change. It does not change source code or public API.
Failing before
I ran the repository's Julia 1.11 downgrade resolution for
lib/OrdinaryDiffEqNonlinearSolve, which selected:Running the two existing Rodas4 mass-matrix
@inferredsolve expressions in that exact downgraded Project/Manifest failed on the first expression:The solve itself returns the expected concrete
ODESolution; the regression is the loss of inference under the supported 4.12 floor.Failing CI job: https://github.com/SciML/OrdinaryDiffEq.jl/actions/runs/32391248972/job/96528442550
Passing after
With only the compat floor changed, the same downgrade resolution selected
OrdinaryDiffEqCore v4.13.0. The same two Rodas4@inferredexpressions exited 0:Current-master package validation:
Both final package runs resolved the current-master local OrdinaryDiffEqDifferentiation v3.9.1 source.
Not verified
GPU, prerelease Julia, and
GROUP=Everythingwere not run locally. No docs build was run because this compatibility-only change touches no public API, docstring, or documentation.