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 65ce9d4 commit ecabd8eCopy full SHA for ecabd8e
test/blockbandedmatrices.jl
@@ -5,8 +5,8 @@ using FillArrays
5
using Test
6
7
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]
+BB[BlockBandedMatrices.Block(1,1)].=[1 2 3 4]
+BB[BlockBandedMatrices.Block(2,1)].=[5 6 7 8;9 10 11 12]
10
rowind,colind=ArrayInterface.findstructralnz(BB)
11
@test [BB[rowind[i],colind[i]] for i in 1:length(rowind)]==
12
[1,5,9,2,6,10,3,7,11,4,8,12,
0 commit comments