-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return semi-infinite intervals when cannot guarantee roots #96
Comments
Why can't the roots be guaranteed here ? |
My bad, they apparently can. There are some functions for which it is not possible to exclude "roots at infinity". |
julia> roots(x -> 1/x, 1..∞)
1-element Array{Root{Interval{Float64}},1}:
Root(∅, :unique) Like that one I guess ? |
Ouch. Exactly! |
Even with bisection this fails. I think this is because we keep bisecting intervals even when they are atomic. This needs to be fixed. |
Currently we get
The Krawczyk just hangs. An example of not being able to guarantee roots is
When |
Currently this creates an |
e.g. for f(x) = (x-1)x(x+1) on (-Inf..Inf).
The text was updated successfully, but these errors were encountered: