Skip to content

Commit f5c47e0

Browse files
committed
Namespace
1 parent 9f57dda commit f5c47e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BlockArraysExtensions/blockrange.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function Base.getindex(r::BlockUnitRange, I::Block{1})
1616
return eachblockaxis(r)[Int(I)] .+ (first(r.r[I]) - 1)
1717
end
1818

19+
using BlockArrays: BlockedOneTo
1920
const BlockOneTo{T<:Integer,B,CS,R<:BlockedOneTo{T,CS}} = BlockUnitRange{T,B,CS,R}
2021
Base.axes(S::Base.Slice{<:BlockOneTo}) = (S.indices,)
2122
Base.axes1(S::Base.Slice{<:BlockOneTo}) = S.indices

0 commit comments

Comments
 (0)