From 8ba4d4e3a6697485f95f045e6d5c2ed0b15de7f3 Mon Sep 17 00:00:00 2001 From: GrantHecht <26047264+GrantHecht@users.noreply.github.com> Date: Fri, 23 Jan 2026 01:42:14 +0000 Subject: [PATCH] Format .jl files --- src/PALC/nm_cache.jl | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/PALC/nm_cache.jl b/src/PALC/nm_cache.jl index f42c263..af21941 100644 --- a/src/PALC/nm_cache.jl +++ b/src/PALC/nm_cache.jl @@ -207,7 +207,14 @@ function solve_natural_nlp!(solvers::PALCSolverCache, u0, trace) maxiters = solvers.n_nlp.maxiters # Reinitialize the nonlinear problem - reinit!(solvers.n_nlp, u0; maxiters=maxiters, abstol=abstol, reltol=reltol, p=solvers.n_nlp.p) + reinit!( + solvers.n_nlp, + u0; + maxiters=maxiters, + abstol=abstol, + reltol=reltol, + p=solvers.n_nlp.p, + ) # Solve for i in 1:(solvers.nlp_iters) @@ -230,7 +237,14 @@ function solve_palc_nlp!(solvers::PALCSolverCache, uλ0, trace) maxiters = solvers.palc_nlp.maxiters # Reinitialize the nonlinear problem - reinit!(solvers.palc_nlp, uλ0; maxiters=maxiters, abstol=abstol, reltol=reltol, p=solvers.palc_nlp.p) + reinit!( + solvers.palc_nlp, + uλ0; + maxiters=maxiters, + abstol=abstol, + reltol=reltol, + p=solvers.palc_nlp.p, + ) # Check initial residual norm is below max allowed residual if any(@closure(x->abs(x)>solvers.palc_max_resid), solvers.palc_nlp.fu)