Skip to content

Commit 6937e9d

Browse files
committed
remove default StoreSi argument from generated _filt_fir!
1 parent 8ad3e98 commit 6937e9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Filters/filt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function _small_filt_fir_storesi!(
188188
col_len = size(si, 1)
189189
LI = LinearIndices(si)
190190
for col in CartesianIndices(axes(x)[2:end])
191-
@static if VERSION > v"1.11"
191+
@static if VERSION > v"1.12-"
192192
si_vec = unsafe_wrap(Array, pointer(si, LI[1, col]), col_len)
193193
else
194194
si_vec = view(si, :, col)

src/dspbase.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ end
115115
const SMALL_FILT_VECT_CUTOFF = 19
116116

117117
# Transposed direct form II
118-
@generated function _filt_fir!(out, b::NTuple{N,T}, x, siarr, col, ::Val{StoreSI}=Val(false)) where {N,T,StoreSI}
118+
@generated function _filt_fir!(out, b::NTuple{N,T}, x, siarr, col, ::Val{StoreSI}) where {N,T,StoreSI}
119119
silen = N - 1
120120
si_end = Symbol(:si_, silen)
121121

@@ -151,7 +151,7 @@ function _small_filt_fir!(
151151
length(h) != bs && throw(ArgumentError("length(h) does not match bs"))
152152
b = ntuple(j -> h[j], Val(bs))
153153
for col in CartesianIndices(axes(x)[2:end])
154-
_filt_fir!(out, b, x, si, col)
154+
_filt_fir!(out, b, x, si, col, Val(false))
155155
end
156156
end
157157

0 commit comments

Comments
 (0)