Skip to content

Commit cf82249

Browse files
authored
test symmetric bandedblockbanded algebra (#103)
1 parent 320b55c commit cf82249

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ MatrixFactorizations = "a3b82374-2e81-5b9e-98ce-41277c0e4c87"
1717
SemiseparableMatrices = "f8ebbe35-cbfb-4060-bf7f-b10e4670cf57"
1818

1919
[compat]
20-
ArrayLayouts = "0.8"
20+
ArrayLayouts = "0.8.6"
2121
BandedMatrices = "0.17"
2222
BlockArrays = "0.16.14"
2323
BlockBandedMatrices = "0.11.5"
2424
DSP = "0.7"
2525
FillArrays = "0.12, 0.13"
2626
InfiniteArrays = "0.12"
2727
LazyArrays = "0.22"
28-
LazyBandedMatrices = "0.7.4"
28+
LazyBandedMatrices = "0.7.13"
2929
MatrixFactorizations = "0.9"
3030
SemiseparableMatrices = "0.3"
3131
julia = "1.6"

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ include("test_infbanded.jl")
195195

196196
b = [ones(10); zeros(∞)]
197197
@test (Ms * b)[Block.(1:6)] == Ms[Block.(1:6), Block.(1:4)]*ones(10)
198+
@test ((Ms * Ms) * b)[Block.(1:6)] == (Ms * (Ms * b))[Block.(1:6)]
199+
@test ((Ms + Ms) * b)[Block.(1:6)] == (2*(Ms * b))[Block.(1:6)]
198200
end
199201
end
200202

0 commit comments

Comments
 (0)