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 56fa092 commit 37bad3fCopy full SHA for 37bad3f
lib/NonlinearSolveFirstOrder/src/solve.jl
@@ -94,8 +94,8 @@ end
94
function InternalAPI.reinit_self!(
95
cache::GeneralizedFirstOrderAlgorithmCache, args...; p = cache.p, u0 = cache.u,
96
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...
+ maxiters = hasproperty(cache, :maxiters) ? cache.maxiters : 1000,
+ maxtime = hasproperty(cache, :maxtime) ? cache.maxtime : nothing, kwargs...
99
)
100
Utils.reinit_common!(cache, u0, p, alias_u0)
101
0 commit comments