-
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
Failure of Interval{T}(x::AbstractIrrational)
#588
Comments
I should maybe add that |
Thanks for reporting the issue. I presume you are using IntervalArithmetic.jl v0.21.1? |
yep, indeed. |
Ah I see the issue, some lines of code were not properly removed when we released 0.21. Let me say that So the "bug" here is that the error message is not the right one. |
I see, thanks for your quick response. I understand the overall decision of the redesign of IntervalArithmetic, but let me just add my two cents: My use case of intervals is also a little more on the pragmatic side, such as #580. For me conversions like |
Yes indeed. After discussions, we truly wanted an generic_function(::Type{T}, a) where {T} = T(log(a))
generic_function(Interval, 3) # danger zone That being said, issue #580 (see also #568, #584) is being worked on currently (I should have a PR ready very soon 🙂). The idea is that |
Thanks for your quick response and detailed explanation, much appreciated! |
The exported function
Interval{T}(x::AbstractIrrational)
currently fails:The text was updated successfully, but these errors were encountered: