Skip to content

Commit

Permalink
Merge fd24ac4 into 135d562
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Jan 25, 2024
2 parents 135d562 + fd24ac4 commit fead2f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ToeplitzMatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ struct ToeplitzFactorization{T,A<:AbstractToeplitz{T},S<:Number,P<:Plan{S}} <: F
tmp::Vector{S}
dft::P
end
Base.size(T::ToeplitzFactorization) = (s = size(T.dft,1); (s, s))
Base.size(T::ToeplitzFactorization, i::Integer) = size(T)[i]

include("toeplitz.jl")
include("special.jl")
Expand Down
4 changes: 4 additions & 0 deletions src/special.jl
Original file line number Diff line number Diff line change
Expand Up @@ -257,3 +257,7 @@ end
function Base.replace_in_print_matrix(A::LowerTriangularToeplitz, i::Integer, j::Integer, s::AbstractString)
i >= j ? s : Base.replace_with_centered_mark(s)
end

# size for factorize
size(T::ToeplitzFactorization{<:Any, <:Circulant}) = (s = size(T.dft,1); (s, s))
size(T::ToeplitzFactorization{<:Any, <:Circulant}, i::Integer) = size(T)[i]

0 comments on commit fead2f1

Please sign in to comment.