Repository navigation
Mark an operator Jacobian as updated when calc_W! moves it - #4354
Merged
ChrisRackauckas merged 1 commit intoAug 30, 2026
Merged
Conversation
singhharsh1708
force-pushed
the
fix-operator-jac-staleness
branch
2 times, most recently
from
August 28, 2026 14:19
a8eff61 to
4d0e77f
Compare
singhharsh1708
force-pushed
the
fix-operator-jac-staleness
branch
from
August 29, 2026 08:14
4d0e77f to
893b33c
Compare
This was referenced Aug 30, 2026
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 7, 2026
- Fix StochasticDiffEqImplicit import ordering (#4408) - Fix TauLeaping JumpProblem initialization (#4409) - Fix dense output for the explicit multirate methods (#4233) - Let reinit! keep the step-size controller history (#4400) - Mark an operator Jacobian as updated when calc_W! moves it (#4354) - Restore weighted preconditioning and tolerances for default Krylov solves (#4391) 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.
calc_W!'sWOperatorbranch updates an operatorJin place throughupdate_coefficients!, so its identity never changes and a linear solver caching its factorisation was never told it moved; it is now marked updated unconditionally, at worst one extra refactorisation.The staleness assertion in
stale_w_linear_operator_tests.jlfails on master and passes with the change. #4351 and #4401 bump the same Differentiation version line, so whichever lands second needs it refreshed.Fixes #4303.
AI Disclosure: Claude assisted with this change.