IntervalTrees.jl
IntervalTrees.jl copied to clipboard
Needs convert method for Tuples for Intervals
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.