We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fcfbef commit ca45244Copy full SHA for ca45244
ext/LinearSolveForwardDiffExt.jl
@@ -371,7 +371,7 @@ function SciMLBase.reinit!(cache::DualLinearCache;
371
372
isfresh = !isnothing(A)
373
precsisfresh = !reuse_precs && (isfresh || !isnothing(p))
374
- isfresh |= cache.isfresh
+ isfresh |= cache.linear_cache.isfresh
375
precsisfresh |= cache.linear_cache.precsisfresh
376
cache.linear_cache.isfresh = true
377
cache.linear_cache.precsisfresh = precsisfresh
0 commit comments