diff --git a/lib/SimpleNonlinearSolve/src/alefeld.jl b/lib/SimpleNonlinearSolve/src/alefeld.jl index ad2604058..61861a4a7 100644 --- a/lib/SimpleNonlinearSolve/src/alefeld.jl +++ b/lib/SimpleNonlinearSolve/src/alefeld.jl @@ -17,10 +17,10 @@ function SciMLBase.solve(prob::IntervalNonlinearProblem, c = a - (b - a) / (f(b) - f(a)) * f(a) fc = f(c) - (a == c || b == c) && + (a == c || b == c) && return SciMLBase.build_solution(prob, alg, c, fc; retcode = ReturnCode.FloatingPointLimit, - left = a, + left = a, right = b) iszero(fc) && return SciMLBase.build_solution(prob, alg, c, fc;