Repository navigation
treat AutoSparse(ForwardDiff) as isAD in dae reinit - #4422
Merged
Merged
Conversation
Previously, AutoSparse(ForwardDiff) was classified as non-AD during reinit which lead to wrong buffers and Float64(Dual) errors.
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 10, 2026
- Document the limiter keywords with their real names (#4427) - Tighten the AdaptiveRadau Newton tolerance with the stage count (#4431) - Fix the AitkenNeville evaluation count and array states (#4428) - Fix crashes when a cache holds a vector of nonlinear solvers (#4345) - Tag the AD type for adaptive exponential algorithms (#4429) - Release 7.20.0 (#4432) - Release 3.6.1 (#4433) - Release 2.3.1 (#4434) - treat AutoSparse(ForwardDiff) as ForwardDiff (#4422) - Correct skipped sublibrary version numbers (#4435) 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.
Previously, AutoSparse(ForwardDiff) was classified as non-AD during reinit which lead to wrong buffers and Float64(Dual) errors.
This broke reinit of systems with sparse jac_prototypes (only sometimes though, Brydon and Klement don't need a jac so it only failed if the polyalg reached Newton. If a sparse system should maybe skip the non-jacobian solvers per default in the polyalg is a different question).
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Add any other context about the problem here.