Skip to content

Commit 3abe5cc

Browse files
committed
format sciml style
1 parent d713f1b commit 3abe5cc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/trustRegion.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ mutable struct TrustRegionCache{iip, fType, algType, uType, resType, pType,
174174
ϵ::floatType
175175
stats::NLStats
176176

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,
178179
uf::ufType, linsolve::L, J::jType, jac_config::JC,
179180
force_stop::Bool, maxiters::Int, internalnorm::INType,
180181
retcode::SciMLBase.ReturnCode.T, abstol::tolType,
@@ -340,7 +341,8 @@ function SciMLBase.__init(prob::NonlinearProblem{uType, iip}, alg::TrustRegion,
340341
initial_trust_radius = convert(eltype(u), 1.0)
341342
end
342343

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,
344346
false, maxiters, internalnorm,
345347
ReturnCode.Default, abstol, prob, radius_update_scheme,
346348
initial_trust_radius,

0 commit comments

Comments
 (0)