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 030391e commit 9df418fCopy full SHA for 9df418f
test/runtests.jl
@@ -62,7 +62,7 @@ rowind,colind=findstructralnz(B)
62
@test [B[rowind[i],colind[i]] for i in 1:length(rowind)]==[5,6,7,8,1,2,3,4]
63
64
using BlockBandedMatrices
65
-BB=BlockBandedMatrix(Ones(10,10),([1,2,3,4],[4,3,2,1]),(1,0))
+BB=BlockBandedMatrix(Ones(10,10),[1,2,3,4],[4,3,2,1],(1,0))
66
BB[Block(1,1)].=[1 2 3 4]
67
BB[Block(2,1)].=[5 6 7 8;9 10 11 12]
68
rowind,colind=findstructralnz(BB)
@@ -76,7 +76,7 @@ dense=collect(Ones(8,8))
76
for i in 1:8
77
dense[:,i].=[1,2,3,4,5,6,7,8]
78
end
79
-BBB=BandedBlockBandedMatrix(dense, ([4, 4] ,[4, 4]), (1, 1), (1, 1))
+BBB=BandedBlockBandedMatrix(dense, [4, 4] ,[4, 4], (1, 1), (1, 1))
80
rowind,colind=findstructralnz(BBB)
81
@test [BBB[rowind[i],colind[i]] for i in 1:length(rowind)]==
82
[1,2,3,1,2,3,4,2,3,4,5,6,7,5,6,7,8,6,7,8,
0 commit comments