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

Commit cd79c8f

Browse files
committed
Refine ITP return solution on hitting f(·) zero
1 parent 0bbf01f commit cd79c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/itp.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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 = left,
129-
right = right)
128+
retcode = ReturnCode.Success, left = xp,
129+
right = xp)
130130
end
131131
i += 1
132132
mid = (left + right) / 2

0 commit comments

Comments
 (0)