Skip to content

Commit ecabd8e

Browse files
Update blockbandedmatrices.jl
1 parent 65ce9d4 commit ecabd8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/blockbandedmatrices.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ using FillArrays
55
using Test
66

77
BB=BlockBandedMatrix(Ones(10,10),[1,2,3,4],[4,3,2,1],(1,0))
8-
BB[Block(1,1)].=[1 2 3 4]
9-
BB[Block(2,1)].=[5 6 7 8;9 10 11 12]
8+
BB[BlockBandedMatrices.Block(1,1)].=[1 2 3 4]
9+
BB[BlockBandedMatrices.Block(2,1)].=[5 6 7 8;9 10 11 12]
1010
rowind,colind=ArrayInterface.findstructralnz(BB)
1111
@test [BB[rowind[i],colind[i]] for i in 1:length(rowind)]==
1212
[1,5,9,2,6,10,3,7,11,4,8,12,

0 commit comments

Comments
 (0)