-
Notifications
You must be signed in to change notification settings - Fork 10
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
Interval <: IntervalSets.Domain? #13
Comments
Seeing this comment: https://github.com/andyferris/AcceleratedArrays.jl/blob/master/src/Interval.jl#L1 makes me think that the reason for not using IntervalSets is more historical than anything. It might be quite easy to switch over now IntervalSets has matured. @andyferris was there a particular other reason / incompatibility? |
I take that back - AA.Interval can have distinct start and end types, which wouldn't be compatible with IntervalSets.Interval. |
Yes - I'd love to sort this out! The related issue is JuliaMath/IntervalSets.jl#40 The problem relates to checking containment in the interval via (Note: the different endpoints types was added to allow openness/closedness of the bound - one could alternatively have 4 types of interval). |
In any case - ideas here are welcome. I've been thinking of just adding a bunch of pragmatic code to handle Thoughts? |
Could we just fix IntervalSets to use |
I agree - that would be my preference. |
Even if this package's interval isn't the same as that in IntervalSets.jl, could it at least be an appropriate subtype?
Ref mcabbott/AxisKeys.jl#13, where that package could use this information to route
AcceleratedArrays.Interval
back to this package'sfindall(in(Interval), ...)
.The text was updated successfully, but these errors were encountered: