Skip to content

Commit efaa9e0

Browse files
authored
remove ITP early termination condition
Added for similarity to BracketingNonlinearSolve, but not useful here since we always want ULP accurate solves here. Found by #1127 (comment)
1 parent 0874ff4 commit efaa9e0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/internal_itp.jl

-5
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ function SciMLBase.solve(prob::IntervalNonlinearProblem{IP, Tuple{T, T}}, alg::I
6161
xt = ifelse abs(diff), x_f + copysign(δ, diff), mid) # Truncation Step
6262

6363
xp = ifelse(abs(xt - mid) r, xt, mid - copysign(r, diff)) # Projection Step
64-
if span < 2ϵ
65-
return SciMLBase.build_solution(
66-
prob, alg, xt, f(xt); retcode = ReturnCode.Success, left, right
67-
)
68-
end
6964
yp = f(xp)
7065
yps = yp * sign(fr)
7166
if yps > T0

0 commit comments

Comments
 (0)