Skip to content

Fix crashes when a cache holds a vector of nonlinear solvers - #4345

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
singhharsh1708:fix-instability-log-vector-nlsolver
Aug 29, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
singhharsh1708:fix-instability-log-vector-nlsolver

Conversation

@singhharsh1708

@singhharsh1708 singhharsh1708 commented Aug 22, 2026 •

Copy link
Copy Markdown
Member

instability_jacobian and get_tmp_cache assumed cache.nlsolver is one NLSolver; PDIRK44 keeps one per parallel stage in a Vector, so both threw type Array has no field ... when reached. The diagnostic now checks the property first and PDIRK44 gets its own get_tmp_cache.

Both fail on master with those errors and pass after; covered in instability_diagnostics_tests.jl and core_interface_tests.jl. #4351 bumps the same Core version line, so whichever lands second needs it refreshed.

AI Disclosure: Claude assisted with this change.

@ChrisRackauckas

Copy link
Copy Markdown
Member

rebasee

@singhharsh1708
singhharsh1708 force-pushed the fix-instability-log-vector-nlsolver branch 2 times, most recently from c7e2e91 to 1a6e4aa Compare August 28, 2026 14:19
@singhharsh1708

Copy link
Copy Markdown
Member Author

Rebased onto master. Core and PDIRK bumps moved to 4.15.3 and 2.5.2 since master had taken the earlier numbers.

@singhharsh1708
singhharsh1708 force-pushed the fix-instability-log-vector-nlsolver branch from 1a6e4aa to 2f02c0a Compare August 29, 2026 08:14
@singhharsh1708
singhharsh1708 force-pushed the fix-instability-log-vector-nlsolver branch from 2f02c0a to 848149f Compare August 29, 2026 15:22
@ChrisRackauckas
ChrisRackauckas merged commit e5b39f6 into SciML:master Aug 29, 2026
254 of 258 checks passed
@singhharsh1708
singhharsh1708 deleted the fix-instability-log-vector-nlsolver branch August 30, 2026 06:37
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]>
ChrisRackauckas added a commit that referenced this pull request Sep 11, 2026
- Format clean-master drift with Runic 1.10 (#4423)
- Reformat six files for Runic 1.10 (#4424)
- Refresh FSAL derivatives after solve-level step limiters (#4035)
- Require SciMLBase 3.46 where AutoDespecialize is used (#4426)
- 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)



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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants