We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14b8b05 commit 17cff03Copy full SHA for 17cff03
base/indices.jl
@@ -373,8 +373,7 @@ struct IdentityUnitRange{T<:AbstractUnitRange} <: AbstractUnitRange{Int}
373
indices::T
374
end
375
IdentityUnitRange(S::IdentityUnitRange) = S
376
-# IdentityUnitRanges are offset and thus have offset axes, so they are their own axes... but
377
-# we need to strip the wholedim marker because we don't know how they'll be used
+# IdentityUnitRanges are offset and thus have offset axes, so they are their own axes
378
axes(S::IdentityUnitRange) = (S,)
379
unsafe_indices(S::IdentityUnitRange) = (S,)
380
axes1(S::IdentityUnitRange) = S
0 commit comments