The last root in the following looks wrong:
julia> using IntervalRootFinding
julia> roots(x -> 1/x, interval(-Inf, Inf))
4-element Vector{Root{Interval{Float64}}}:
Root([-3.35274e-8, 1.94455e-8]_dac, :unknown)
└ Not converged: region size smaller than the tolerance
Root((-∞, -1.79769e+308]_dac, :unknown)
└ Not converged: reached maximal number of iterations
Root([1.79769e+308, ∞)_dac, :unknown)
└ Not converged: reached maximal number of iterations
Root(∅_trv, :unknown)
└ Not converged: reached maximal number of iterations
It is not incorrect to say that an empty interval contains no root, but unhelpful and a bit concerning: all empty intervals should be properly removed before being returned.
The last root in the following looks wrong:
It is not incorrect to say that an empty interval contains no root, but unhelpful and a bit concerning: all empty intervals should be properly removed before being returned.