Skip to content

Commit 2c9323b

Browse files
Merge pull request #73 from SciML/auto-juliaformatter-pr
Automatic JuliaFormatter.jl run
2 parents 56c8669 + 15f0593 commit 2c9323b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SimpleNonlinearSolve/test/basictests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,17 +541,17 @@ for alg in (SimpleNewtonRaphson(), SimpleTrustRegion())
541541
end
542542

543543
# Flipped signs test
544-
f1(u, p) = u * u - p
544+
f1(u, p) = u * u - p
545545
f2(u, p) = p - u * u
546546

547547
for Alg in (Alefeld, Bisection, Falsi, Brent, ITP, Ridder)
548548
alg = Alg()
549-
for p 1:4
549+
for p in 1:4
550550
inp1 = IntervalNonlinearProblem(f1, (1.0, 2.0), p)
551551
inp2 = IntervalNonlinearProblem(f2, (1.0, 2.0), p)
552552
sol = solve(inp1, alg)
553553
@test abs.(sol.u) sqrt.(p)
554554
sol = solve(inp2, alg)
555555
@test abs.(sol.u) sqrt.(p)
556556
end
557-
end
557+
end

0 commit comments

Comments
 (0)