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 e115f0d commit afa99d6Copy full SHA for afa99d6
lib/OrdinaryDiffEqNonlinearSolve/src/newton.jl
@@ -56,7 +56,7 @@ function initialize!(nlsolver::NLSolver{<:NonlinearSolveAlg, true},
56
cache.invγdt = inv(dt * nlsolver.γ)
57
cache.tstep = integrator.t + nlsolver.c * dt
58
59
- @unpack ustep, tstep, k, invγdt = cache
+ @unpack ustep, atmp, tstep, k, invγdt = cache
60
61
if DiffEqBase.has_stats(integrator)
62
integrator.stats.nf += cache.cache.stats.nf
@@ -80,7 +80,7 @@ function initialize!(nlsolver::NLSolver{<:NonlinearSolveAlg, true},
80
SciMLBase.reinit!(cache.cache, nlstep_data.nlprob.u0, p=nlstep_data.nlprob.p)
81
else
82
if f isa DAEFunction
83
- nlp_params = (tmp, atmp, ustep, γ, α, tstep, k, invγdt, p, dt, f)
+ nlp_params = (tmp, ztmp, ustep, γ, α, tstep, k, invγdt, p, dt, f)
84
85
nlp_params = (tmp, ustep, γ, α, tstep, k, invγdt, method, p, dt, f)
86
end
0 commit comments