JuliaIntervals / IntervalRootFinding.jl

Library for finding the roots of a function using interval arithmetic
https://juliaintervals.github.io/IntervalRootFinding.jl/
Other
126 stars 26 forks source link

No method roots(f, v::Vector{IntervalBox}) #117

Open dpsanders opened 5 years ago

dpsanders commented 5 years ago

I'm sure this used to work.

dpsanders commented 5 years ago

Maybe it didn't. But it should.

yashvardhan747 commented 5 years ago

I think problem is here

function _roots(f, X::Region, contractor::Type{C}, strategy::Type{S}, tol::Float64) where {C <: Contractor, S <: BBSearch}Problem is in defining the type of X .This function can only be called when X is either Interval or IntervalBox to call it by vector of Interval. You need to change the type definition of X in argument of _roots