Skip to content

Commit

Permalink
generalise eltype (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Jan 8, 2024
1 parent 8006e93 commit 950e29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ToeplitzMatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ end
include("iterativeLinearSolvers.jl")

# Abstract
abstract type AbstractToeplitz{T<:Number} <: AbstractMatrix{T} end
abstract type AbstractToeplitz{T} <: AbstractMatrix{T} end

size(A::AbstractToeplitz) = (length(A.vc),length(A.vr))
@inline _vr(A::AbstractToeplitz) = A.vr
Expand Down

0 comments on commit 950e29f

Please sign in to comment.