-
Notifications
You must be signed in to change notification settings - Fork 71
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
Bisection should ignore atomic intervals #84
Comments
And return an indication of whether the intervalbox is atomic (ie atomic on each direction) |
Note that a box is atomic only if each interval in the box is. |
Probably it should return |
This is true, but we will have to be careful: the non atomic dimension may not be the biggest one. julia> X = IntervalBox(0..1, 10.0^100..nextfloat(10.0^100))
[0, 1] × [9.99999e+99, 1.00001e+100]
julia> bisect(X)
([0, 1] × [9.99999e+99, 1.00001e+100], [0, 1] × [1e+100, 1.00001e+100]) Also this doesn't seem to be part of the standard (freedom !), and I like the |
Good point! That will be tricky to handle. I guess broadcast isatomic over the IntervalBox and bisect the first dimension that is not atomic. |
No description provided.
The text was updated successfully, but these errors were encountered: