Skip to content

Commit 16f95d4

Browse files
committed
restrict si arg in sos _filt! to AbstractMatrix
1 parent 04fa2ca commit 16f95d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Filters/filt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ filt(f::PolynomialRatio{:z}, x) = filt(coefb(f), coefa(f), x)
3232
## SecondOrderSections
3333

3434
# filt! algorithm (no checking, returns si)
35-
function _filt!(out::AbstractArray, si::AbstractArray{S,N}, f::SecondOrderSections{:z},
36-
x::AbstractArray, col::CartesianIndex) where {S,N}
35+
function _filt!(out::AbstractArray, si::AbstractMatrix{S}, f::SecondOrderSections{:z},
36+
x::AbstractArray, col::CartesianIndex) where {S}
3737
g = f.g
3838
biquads = f.biquads
3939
@inbounds for i in axes(x, 1)

0 commit comments

Comments
 (0)