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 6dcb0e9 commit c6ec039Copy full SHA for c6ec039
src/nlsolve/type.jl
@@ -237,8 +237,8 @@ mutable struct NonlinearSolveCache{uType, tType, rateType, tType2, P, C} <:
237
ustep::uType
238
tstep::tType
239
k::rateType
240
+ atmp::uType
241
invγdt::tType2
242
prob::P
243
cache::C
- atmp::uType
244
end
src/nlsolve/utils.jl
@@ -224,7 +224,7 @@ function build_nlsolver(
224
225
prob = NonlinearProblem(NonlinearFunction(nlf), ztmp, nlp_params)
226
cache = init(prob, nlalg.alg)
227
- nlcache = NonlinearSolveCache(ustep, tstep, k, invγdt, prob, cache)
+ nlcache = NonlinearSolveCache(ustep, tstep, k, atmp, invγdt, prob, cache)
228
else
229
nlcache = NLNewtonCache(ustep, tstep, k, atmp, dz, J, W, true,
230
true, true, tType(dt), du1, uf, jac_config,
@@ -308,7 +308,7 @@ function build_nlsolver(
308
309
prob = NonlinearProblem(NonlinearFunction(nlf), copy(ztmp), nlp_params)
310
311
- nlcache = NonlinearSolveCache(nothing, tstep, nothing, invγdt, prob, cache)
+ nlcache = NonlinearSolveCache(nothing, tstep, nothing, nothing, invγdt, prob, cache)
312
313
nlcache = NLNewtonConstantCache(tstep, J, W, true, true, true, tType(dt), uf,
314
invγdt, tType(nlalg.new_W_dt_cutoff), t)
0 commit comments