Skip to content

Commit 88b93b4

Browse files
committed
format
1 parent 3abe5cc commit 88b93b4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/convergencetests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ tol = 1e-9
2828

2929
function convergence_test_oop(f, u0, p, radius_update_scheme)
3030
prob = NonlinearProblem{false}(f, oftype(p, u0), p)
31-
cache = init(prob, TrustRegion(radius_update_scheme=radius_update_scheme), abstol = 1e-9)
31+
cache = init(prob,
32+
TrustRegion(radius_update_scheme = radius_update_scheme),
33+
abstol = 1e-9)
3234
sol = solve!(cache)
3335
return cache.internalnorm(cache.u_prev - cache.u), cache.iter, sol.retcode
3436
end
3537

3638
residual, iterations, return_code = convergence_test_oop(f_oop, u0, p, radius_update_scheme)
3739
@test return_code === ReturnCode.Success
38-
@test residual tol
40+
@test residual tol

0 commit comments

Comments
 (0)