Skip to content

Commit 78c1f0d

Browse files
committed
Update test_bandedblockbanded.jl
1 parent 449e6bc commit 78c1f0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_bandedblockbanded.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ import ArrayLayouts: RangeCumsum
8888
λ , μ = 1,2
8989
N = M = 4
9090
cols = rows = 1:N
91-
data = reshape(Vector(1:+μ+1)*(l+u+1)*sum(cols)), (λ+μ+1, (l+u+1)*sum(cols)))
91+
data = reshape(Vector(1:+μ+1)*(l+u+1)*sum(cols)), ((λ+μ+1)*(l+u+1), sum(cols)))
9292
A = _BandedBlockBandedMatrix(data, rows,cols, (l,u), (λ,μ))
9393

9494
@test A.l == l == blockbandwidth(A,1)
@@ -265,7 +265,7 @@ import ArrayLayouts: RangeCumsum
265265
λ , μ = 1,2
266266
N = M = 4
267267
cols = rows = 1:N
268-
data = reshape(Vector(1:+μ+1)*(l+u+1)*sum(cols)), (λ+μ+1, (l+u+1)*sum(cols)))
268+
data = reshape(Vector(1:+μ+1)*(l+u+1)*sum(cols)), ((λ+μ+1)*(l+u+1), sum(cols)))
269269
A = _BandedBlockBandedMatrix(data, rows,cols, (l,u), (λ,μ))
270270

271271
@test_throws BandError A[1,4] = 5
@@ -276,7 +276,7 @@ import ArrayLayouts: RangeCumsum
276276
rows = 1:5
277277
cols = 1:6
278278

279-
data = reshape(Vector{Float64}(1:+μ+1)*(l+u+1)*sum(cols)), (λ+μ+1, (l+u+1)*sum(cols)))
279+
data = reshape(Vector{Float64}(1:+μ+1)*(l+u+1)*sum(cols)), ((λ+μ+1)*(l+u+1), sum(cols)))
280280
A = _BandedBlockBandedMatrix(data, rows,cols, (l,u), (λ,μ))
281281
@test_throws BandError A[1,1] = 5
282282

0 commit comments

Comments
 (0)