Repository navigation
Accept SciML DECache values in nlsolve! - #4407
Merged
ChrisRackauckas merged 1 commit intoAug 28, 2026
Merged
Conversation
Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Claude-Session: https://chatgpt.com/codex/tasks/01a03ea3-e59c-7cd0-a4d2-0191af417f31
Member
Author
|
Independent clean-base audit:
Before merge, please correct the commit and PR attribution from Claude Code/Claude to the actual harness/model that owns https://chatgpt.com/codex/tasks/01a03ea3-e59c-7cd0-a4d2-0191af417f31. The repository instructions require |
ChrisRackauckas
marked this pull request as ready for review
August 28, 2026 01:44
This was referenced Aug 28, 2026
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.
What changed
Accept any
SciMLBase.DECacheas the cache argument toOrdinaryDiffEqNonlinearSolve.nlsolve!, rather than accepting onlyOrdinaryDiffEqCore.OrdinaryDiffEqCache. StochasticDiffEq's implicit caches implement the sharedDECacheinterface but do not subtype the OrdinaryDiffEq-specific cache, so the narrower check rejected valid solver calls.This also bumps
OrdinaryDiffEqNonlinearSolveto 2.9.2 and adds anISSEMsolve regression test inStochasticDiffEqImplicit.The narrow guard was introduced by e4f0c5e.
Verification
I first added the
ISSEMregression test, reverted the implementation change, and ran:GROUP=Core julia +1.11.9 --project=lib/StochasticDiffEqImplicit -e 'using Pkg; Pkg.test()'It failed on the unfixed implementation:
The same command passed after restoring the fix:
The changed package's QA group passed:
GROUP=QAforStochasticDiffEqImplicitreached 20 passing checks but also reproduced one unrelated current-master ExplicitImports error:That pre-existing module-source failure is being investigated separately and is not hidden or changed here.
Additional checks:
git diff | typos -— passedgit diff --check— passedRelated baseline failures:
🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03ea3-e59c-7cd0-a4d2-0191af417f31