File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
NDTensors/src/lib/LabelledNumbers/src Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,6 @@ unlabel_type(::Type{<:LabelledUnitRange{Value}}) where {Value} = Value
1717function Base. AbstractUnitRange {T} (a:: LabelledUnitRange ) where {T}
1818 return AbstractUnitRange {T} (unlabel (a))
1919end
20- # Used by `CartesianIndices` constructor.
21- # TODO : Seems to only be needed for Julia v1.6, maybe remove once we
22- # drop Julia v1.6 support.
23- function Base. OrdinalRange {T1,T2} (a:: LabelledUnitRange ) where {T1,T2<: Integer }
24- return OrdinalRange {T1,T2} (unlabel (a))
25- end
26- # Fix ambiguity error in Julia v1.10.
27- function Base. OrdinalRange {T,T} (a:: LabelledUnitRange ) where {T<: Integer }
28- return OrdinalRange {T,T} (unlabel (a))
29- end
3020
3121# TODO : Is this a good definition?
3222Base. unitrange (a:: LabelledUnitRange ) = a
You can’t perform that action at this time.
0 commit comments