Closed dpsanders closed 6 years ago
Fixed by #55:
julia> roots(f, rts, Newton, 1e-15)
7-element Array{IntervalRootFinding.Root{IntervalArithmetic.IntervalBox{2,Float64}},1}:
Root([1.1232, 1.12321] × [-1.47863e-28, 1.49292e-28], :unique)
Root([-0.200001, -0.199999] × [0.866025, 0.866026], :unique)
Root([0.299999, 0.300001] × [-5.60064e-16, 7.40446e-17], :unknown)
Root([-0.200001, -0.199999] × [-0.866026, -0.866025], :unique)
Root([-0.28613, -0.286129] × [-1.54137e-29, 1.54013e-29], :unique)
Root([-0.700001, -0.699999] × [-5.60064e-16, 7.40446e-17], :unknown)
Root([-1.25674, -1.25673] × [-4.99325e-29, 4.95997e-29], :unique)
The last root should have
0
(zero) instead of empty set...