-
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
AbstractInterval
#521
Comments
This issue actually has two parts:
|
based on yesterday discussion, option 1 is probably better |
I also agree that option 1 is best. Then there is still two possibilities about the defined interface:
|
I'm on the tedious translation on using thoroughly |
Closing this issue since it seems that everything has been addressed in current master. Specifically,
Please re-open it if I overlooked something. |
Currently on master we have
Interval <: AbstractInterval <: Real
butDecoratedInterval
doesn't have a supertype. On 1.0-devAbstractInterval
was completely removed (probably by accident). I think we should have bothInterval
andDecoratedInterval
as subtypes ofAbstractInterval
. This would allow to write generic code that works for both, while atm TaylorModels, IntervalLinearAlgebra etc. don't work with decorated intervals. To write generic code, there are two optionsOptions 1
and then don't access lower bounds of intervals as
a.lo, a.hi
but use gettersinf, sup
everywhere in IntervalArithmetic.jlOptions 2
store a decorated interval as
The text was updated successfully, but these errors were encountered: