Skip to content

Commit 37bad3f

Browse files
Update lib/NonlinearSolveFirstOrder/src/solve.jl
1 parent 56fa092 commit 37bad3f

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

lib/NonlinearSolveFirstOrder/src/solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ end
9494
function InternalAPI.reinit_self!(
9595
cache::GeneralizedFirstOrderAlgorithmCache, args...; p = cache.p, u0 = cache.u,
9696
alias_u0::Bool = hasproperty(cache, :alias_u0) ? cache.alias_u0 : false,
97-
maxiters = hasproperty(maxiters, :maxiters) ? cache.maxiters : 1000,
98-
maxtime = hasproperty(maxtime, :maxtime) ? cache.maxtime : nothing, kwargs...
97+
maxiters = hasproperty(cache, :maxiters) ? cache.maxiters : 1000,
98+
maxtime = hasproperty(cache, :maxtime) ? cache.maxtime : nothing, kwargs...
9999
)
100100
Utils.reinit_common!(cache, u0, p, alias_u0)
101101

0 commit comments

Comments
 (0)