Skip to content

Commit 53f0325

Browse files
authored
Fix tests (hopefully) (#182)
1 parent 038c020 commit 53f0325

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
@@ -1,6 +1,6 @@
11
name = "InfiniteLinearAlgebra"
22
uuid = "cde9dba0-b1de-11e9-2c62-0bab9446c55c"
3-
version = "0.8.1"
3+
version = "0.8.2"
44

55
[deps]
66
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
@@ -19,7 +19,7 @@ SemiseparableMatrices = "f8ebbe35-cbfb-4060-bf7f-b10e4670cf57"
1919
[compat]
2020
Aqua = "0.8"
2121
ArrayLayouts = "1.9.2"
22-
BandedMatrices = "1.0"
22+
BandedMatrices = "1.7.2"
2323
BlockArrays = "1.0"
2424
BlockBandedMatrices = "0.13"
2525
FillArrays = "1.0"

test/test_infbanded.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ using Base: oneto
6363
T = LazyBandedMatrices.Tridiagonal(Fill(1,∞), Zeros(∞), Fill(3,∞))
6464
@test T[2:∞,3:∞] isa SubArray
6565
@test exp.(T) isa BroadcastMatrix
66+
@test exp.(T)[2:∞,3:∞][1:10,1:10] == exp.(T[2:∞,3:∞])[1:10,1:10] == exp.(T[2:11,3:12])
6667
@test exp.(T)[2:∞,3:∞] isa BroadcastMatrix
6768
@test exp.(T[2:∞,3:∞]) isa BroadcastMatrix
6869

6970
B = LazyBandedMatrices.Bidiagonal(Fill(1,∞), Zeros(∞), :U)
7071
@test B[2:∞,3:∞] isa SubArray
7172
@test exp.(B) isa BroadcastMatrix
73+
@test exp.(B)[2:∞,3:∞][1:10,1:10] == exp.(B[2:∞,3:∞])[1:10,1:10] == exp.(B[2:11,3:12])
7274
@test exp.(B)[2:∞,3:∞] isa BroadcastMatrix
7375

7476
@testset "algebra" begin

0 commit comments

Comments
 (0)