Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 21e4e3d

Browse files
committed
2 parents 5864110 + 26b5799 commit 21e4e3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/basictests.jl

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

543543
# Flipped signs & reversed tsoan test for bracketing algorithms
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())
548-
for p 1:4
548+
for p in 1:4
549549
inp1 = IntervalNonlinearProblem(f1, (1.0, 2.0), p)
550550
inp2 = IntervalNonlinearProblem(f2, (1.0, 2.0), p)
551551
inp3 = IntervalNonlinearProblem(f1, (2.0, 1.0), p)
@@ -555,4 +555,4 @@ for alg in (Alefeld(), Bisection(), Falsi(), Brent(), ITP(), Ridder())
555555
@test abs.(solve(inp3, alg).u) sqrt.(p)
556556
@test abs.(solve(inp4, alg).u) sqrt.(p)
557557
end
558-
end
558+
end

0 commit comments

Comments
 (0)