Skip to content

Commit f1826ef

Browse files
authored
don't specialize indexstyle for BlockRange (#267)
1 parent ceaae29 commit f1826ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/blockindices.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ broadcasted(::DefaultArrayStyle{0}, ::Type{Int}, block::Block{1}) = Int(block)
335335

336336
# AbstractArray implementation
337337
axes(iter::BlockRange{N,R}) where {N,R} = map(axes1, iter.indices)
338-
Base.IndexStyle(::Type{BlockRange{N,R}}) where {N,R} = IndexCartesian()
339338
@inline function Base.getindex(iter::BlockRange{N,<:NTuple{N,Base.OneTo}}, I::Vararg{Integer, N}) where {N}
340339
@boundscheck checkbounds(iter, I...)
341340
Block(I)

0 commit comments

Comments
 (0)