@@ -174,7 +174,8 @@ mutable struct TrustRegionCache{iip, fType, algType, uType, resType, pType,
174
174
ϵ:: floatType
175
175
stats:: NLStats
176
176
177
- function TrustRegionCache {iip} (f:: fType , alg:: algType , u_prev:: uType , u:: uType , fu_prev:: resType , fu:: resType , p:: pType ,
177
+ function TrustRegionCache {iip} (f:: fType , alg:: algType , u_prev:: uType , u:: uType ,
178
+ fu_prev:: resType , fu:: resType , p:: pType ,
178
179
uf:: ufType , linsolve:: L , J:: jType , jac_config:: JC ,
179
180
force_stop:: Bool , maxiters:: Int , internalnorm:: INType ,
180
181
retcode:: SciMLBase.ReturnCode.T , abstol:: tolType ,
@@ -340,7 +341,8 @@ function SciMLBase.__init(prob::NonlinearProblem{uType, iip}, alg::TrustRegion,
340
341
initial_trust_radius = convert (eltype (u), 1.0 )
341
342
end
342
343
343
- return TrustRegionCache {iip} (f, alg, u_prev, u, fu_prev, fu, p, uf, linsolve, J, jac_config,
344
+ return TrustRegionCache {iip} (f, alg, u_prev, u, fu_prev, fu, p, uf, linsolve, J,
345
+ jac_config,
344
346
false , maxiters, internalnorm,
345
347
ReturnCode. Default, abstol, prob, radius_update_scheme,
346
348
initial_trust_radius,
0 commit comments