-
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
Partial update to IntervalArithmetic v0.21 #192
Conversation
Sorry I do not know this repository well. Where is the issue with the conversion with About the third item in your list, is it about IntervalRootFinding.jl/test/slopes.jl Lines 12 to 24 in 754c005
? If so, things like |
No, that part was fine. I changed it anyway now. And also added some more fixes.
This all happens internally in automatic promotion. Below is an example from a failing test: Xc = Complex(X, X)
f(z) = z^3 - 1
# Default
rts = roots(f, Xc) In the call to |
Mhmm so since promotion between |
To me the whole point of interval arithmetic is that you can plug an interval into a function that expects a number and it will just work. Having to explicitly write But since this is not my package, I let you decide how to fix things. As I said, feel free to continue from this branch if you want. |
Thank you very much for your input on this and taking the time to open this draft 🙂 We do allow the mixing |
I tried to upgrade
IntervalArithmetic
to v0.21 but failed with several blockers. I pushed this so somebody with more knowledge can continue. Below are the blocking problems I found.Problems
StaticArrays
matrix multiplication is broken (reported in Matrix multiplication with mixed Interval SMatrix and SMatrix broken IntervalArithmetic.jl#573).Compl
uses fallback methods that require anInterval
constructor.setprecision
was removed (it is unclear to me how the behavior is imitated).BigFloat(::Interval{BigFloat})
.