Skip to content

Commit 796b864

Browse files
committed
Clean up docstring, fix tests
1 parent 95388c4 commit 796b864

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/blockindices.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ _indices(B) = B
307307
"""
308308
NoncontiguousBlockSlice(blocks, indices)
309309
310-
<<<<<<< HEAD
311310
Represents an AbstractVector of indices attached to a (potentially non-contiguous) subblock,
312311
set of blocks, or set of subblocks. This is the generalization of `BlockSlice` to
313312
non-contiguous slices.

test/test_blockrange.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ using BlockArrays, Test
3232
V = view(A, [Block(3), Block(2)])
3333
@test V == [4, 5, 6, 2, 3]
3434
I = parentindices(V)[1]
35-
@test I isa BlockArrays.BlockedSlice{<:Vector{<:Block{1}}}
35+
@test I isa BlockArrays.NoncontiguousBlockSlice{<:Vector{<:Block{1}}}
3636
@test V[Block(1)] == 4:6
3737
@test V[Block(2)] == 2:3
3838
@test view(V, Block(1)) === view(A, Block(3))

0 commit comments

Comments
 (0)