Open
Description
the CommonSolve interface mentions:
The problem-algorithm-solve interface is a pattern popularized in Julia by the DifferentialEquations.jl suite of packages. This can be used as an alternative to find_zero. Unlike find_zero, solve will return NaN on non-convergence.
But, for bracketing methods, the function Roots.assert_bracket
throws:
Roots.jl/src/Bracketing/bracketing.jl
Line 52 in 18354b0
The error path for assert_bracket
. also gets activated when one of the values is NaN, instead of returning NaN.
Metadata
Metadata
Assignees
Labels
No labels