IntervalTrees.jl icon indicating copy to clipboard operation
IntervalTrees.jl copied to clipboard

Needs convert method for Tuples for Intervals

Open sambitdash opened this issue 7 years ago • 0 comments

Base.convert(::Type{Interval{T}}, range::tuple{T, T}) where T

is needed. As in case of IntervalMaps you can set value as t[(1,2)] = 5 but a = t[(1,2)] will fail while t[1:2] will work.

sambitdash avatar Apr 02 '18 05:04 sambitdash