Skip to content

Commit 37d169c

Browse files
Update lib/NonlinearSolveQuasiNewton/src/solve.jl
1 parent 37bad3f commit 37d169c

File tree

1 file changed

+2
-2
lines changed
  • lib/NonlinearSolveQuasiNewton/src

1 file changed

+2
-2
lines changed

lib/NonlinearSolveQuasiNewton/src/solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ end
108108
function InternalAPI.reinit_self!(
109109
cache::QuasiNewtonCache, args...; p = cache.p, u0 = cache.u,
110110
alias_u0::Bool = hasproperty(cache, :alias_u0) ? cache.alias_u0 : false,
111-
maxiters = hasproperty(maxiters, :maxiters) ? cache.maxiters : 1000,
112-
maxtime = hasproperty(maxtime, :maxtime) ? cache.maxtime : nothing, kwargs...
111+
maxiters = hasproperty(cache, :maxiters) ? cache.maxiters : 1000,
112+
maxtime = hasproperty(cache, :maxtime) ? cache.maxtime : nothing, kwargs...
113113
)
114114
Utils.reinit_common!(cache, u0, p, alias_u0)
115115

0 commit comments

Comments
 (0)