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

Commit ae46147

Browse files
Update src/falsi.jl
1 parent c5306d9 commit ae46147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/falsi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function SciMLBase.solve(prob::IntervalNonlinearProblem, alg::Falsi, args...;
99
f = Base.Fix2(prob.f, prob.p)
1010
left, right = prob.tspan
1111
fl, fr = f(left), f(right)
12-
atol = abstol !== nothing ? abstol : minimum(eps(left), eps(right))
12+
atol = abstol !== nothing ? abstol : min(eps(left), eps(right))
1313

1414
if iszero(fl)
1515
return SciMLBase.build_solution(prob, alg, left, fl;

0 commit comments

Comments
 (0)