Skip to content

Commit 6e86987

Browse files
committed
Test Diagonal{<:AbstractFill} * Bidiagonal
1 parent 0279a02 commit 6e86987

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ DSP = "0.7"
2525
FillArrays = "0.11, 0.12"
2626
InfiniteArrays = "0.12"
2727
LazyArrays = "0.21.8"
28-
LazyBandedMatrices = "0.7"
28+
LazyBandedMatrices = "0.7.1"
2929
MatrixFactorizations = "0.8"
3030
SemiseparableMatrices = "0.2.7"
3131
julia = "1.6"

test/test_infbanded.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using InfiniteLinearAlgebra, InfiniteArrays, BandedMatrices, FillArrays, Test
1+
using InfiniteLinearAlgebra, InfiniteArrays, BandedMatrices, FillArrays, LazyBandedMatrices, Test
22
import BandedMatrices: _BandedMatrix
33

44
@testset "∞-banded" begin
@@ -135,4 +135,9 @@ import BandedMatrices: _BandedMatrix
135135
B = _BandedMatrix(Fill(1.0π,1,∞), ∞, 0,0)
136136
@test (A*B)[1:10,1:10] BandedMatrix(-1 => Fill(1.0π,9))
137137
end
138+
139+
@testset "Diagonal{Fill} * Bidiagonal" begin
140+
A, B = Diagonal(Fill(2,∞)) , LazyBandedMatrices.Bidiagonal(exp.(1:∞), exp.(1:∞), :L)
141+
@test (A*B)[1:10,1:10] (B*A)[1:10,1:10] 2B[1:10,1:10]
142+
end
138143
end

0 commit comments

Comments
 (0)