Skip to content

Commit

Permalink
BidiagonalConjugationBand should not be <: AbstractCachedVector
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty committed Jul 6, 2024
1 parent 550a03a commit c45472f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/banded/bidiagonalconjugation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function resizedata!(data::BidiagonalConjugationData, n)
return _compute_columns!(data, 2n)
end

struct BidiagonalConjugationBand{T} <: AbstractCachedVector{T}
struct BidiagonalConjugationBand{T} <: LazyVector{T}
data::BidiagonalConjugationData{T}
diag::Bool # true => diagonal, false => offdiagonal
end
Expand Down
5 changes: 5 additions & 0 deletions test/test_bidiagonalconjugation.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
using InfiniteLinearAlgebra, InfiniteRandomArrays, BandedMatrices, LazyArrays, LazyBandedMatrices, InfiniteArrays, ArrayLayouts, Test
using InfiniteLinearAlgebra: BidiagonalConjugation, OneToInf
using ArrayLayouts: supdiagonaldata, subdiagonaldata, diagonaldata
using LazyArrays: LazyLayout

@testset "BidiagonalConjugationData" begin
@test InfiniteLinearAlgebra._to_uplo('U') == 'U'
@test InfiniteLinearAlgebra._to_uplo('L') == 'L'
Expand Down

0 comments on commit c45472f

Please sign in to comment.