Repository navigation
Correct NonlinearSolve downgrade dependency floors - #4394
Merged
ChrisRackauckas merged 2 commits intoAug 27, 2026
Merged
ChrisRackauckas merged 2 commits into
ChrisRackauckas merged 2 commits into
Conversation
Require OrdinaryDiffEqDifferentiation 3.10 for matrix-free instability diagnostics and OrdinaryDiffEqSDIRK 2.9 for the coupled smoothed-error-estimator behavior. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Claude-Session: https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512
ChrisRackauckas
marked this pull request as ready for review
August 27, 2026 18:59
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 11, 2026
- Fix definite assignment in ROCK stages (#4321) - Correct NonlinearSolve downgrade dependency floors (#4394) - Fix ensemble work-precision error storage (#4390) - Add explicit benchmark tag semantics (#4402) - fix: require cache-aware nonlinear solver in PDIRK (#4406) - fix: accept SciML caches in nlsolve! (#4407) - Support generic callback event storage (#4398) - test: account for Hairer4 BLAS variation (#4410) - Fix Rosenbrock interpolation after callback truncation (#4411) - Fix weak Platen methods for scalar Wiener processes (#4413) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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 draft until it has been reviewed by @ChrisRackauckas.
What changed
Correct two lower bounds in
OrdinaryDiffEqNonlinearSolve's testable dependency set:OrdinaryDiffEqDifferentiation3.9 -> 3.10OrdinaryDiffEqSDIRK2 -> 2.9The downgraded dependency set combines
OrdinaryDiffEqCore4.13 withOrdinaryDiffEqDifferentiation3.9.0. When a Rosenbrock solve reports numerical instability with a matrix-free Jacobian, 3.9.0 callsjacobian!on aSciMLOperators.NullOperator. Version 3.10.0 is the first compatible release: it avoids calculating a diagnostic Jacobian unless the cached Jacobian is anAbstractMatrix.Once that failure is fixed, the same Core run reaches a second lower-bound bug.
nsa_smooth_est_tests.jltests thecan_smooth_estintegration added jointly to NonlinearSolve and SDIRK, but the old bound resolves SDIRK 2.0.0, before that integration existed. SDIRK 2.9.0 is the first released version containing it.This is independent of the stochastic cache-contract bug fixed by #4386. That PR's stochastic downgraded test passes, but its NonlinearSolve downgraded test still hits this error.
No package-version bump is included because #4386 already reserves
OrdinaryDiffEqNonlinearSolve2.9.2. The intended order is to merge this mechanical compatibility correction first, then rebase and rerun that PR. If the order is reversed, this PR should be rebased with a 2.9.3 bump.Regression evidence
The existing
linear_solver_tests.jlandnsa_smooth_est_tests.jltests are the discriminating regressions, so this mechanical compatibility PR does not add duplicate tests.Failing before, after applying the repository's exact downgrade action and running the Core group without re-resolving:
The same downgrade action resolves
OrdinaryDiffEqDifferentiation3.10.0 after this change. The formerly failing testset passes:That exposes the second failure with SDIRK 2.0.0:
After raising the SDIRK floor, the exact action resolves SDIRK 2.9.0 and the same test passes:
The adjacent-commit bisect found 62a52b2 as the first exposing commit:
bde55a538656918258d2d87f729e9053814f36af, with a Core 4.12 floor: passes62a52b272ce3b1605233fe7a33dcb07dba8cbd81, with a Core 4.13 floor: fails withjacobian!(::NullOperator, ...)That commit did not introduce the faulty diagnostic code; it exposed the latent incompatibility. f77ad2b is the fix included in
OrdinaryDiffEqDifferentiation3.10.0.The independent SDIRK mismatch was introduced by 55e5da1, which added both the cross-sublibrary behavior and its test. The corresponding SDIRK source first shipped in 2.9.0.
Local verification
Documentation was not built because this changes no documentation or public API. GPU, Julia pre-release, downstream, and
Everythinggroups were not run locally.Links
🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512