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

Commit cad98b6

Browse files
Merge pull request #75 from SciML/auto-juliaformatter-pr
Automatic JuliaFormatter.jl run
2 parents 2711d48 + ac5b135 commit cad98b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/itp.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function SciMLBase.solve(prob::IntervalNonlinearProblem, alg::ITP,
8080
n0 = alg.n0
8181
n_h = ceil(log2(abs(right - left) / (2 * ϵ)))
8282
mid = (left + right) / 2
83-
x_f = left + (right - left) * (fl/(fl - fr))
83+
x_f = left + (right - left) * (fl / (fl - fr))
8484
xt = left
8585
xp = left
8686
r = zero(left) #minmax radius
@@ -94,7 +94,7 @@ function SciMLBase.solve(prob::IntervalNonlinearProblem, alg::ITP,
9494
δ = k1 * (span^k2)
9595

9696
## Interpolation step ##
97-
x_f = left + (right - left) * (fl/(fl - fr))
97+
x_f = left + (right - left) * (fl / (fl - fr))
9898

9999
## Truncation step ##
100100
σ = sign(mid - x_f)
@@ -125,8 +125,8 @@ function SciMLBase.solve(prob::IntervalNonlinearProblem, alg::ITP,
125125
fl = yp
126126
else
127127
return SciMLBase.build_solution(prob, alg, xp, yps;
128-
retcode = ReturnCode.Success, left = xp,
129-
right = xp)
128+
retcode = ReturnCode.Success, left = xp,
129+
right = xp)
130130
end
131131
i += 1
132132
mid = (left + right) / 2

0 commit comments

Comments
 (0)