commit 0814c878b9fd94cb767803686ed853e00bec5997
parent 7ddabe2757b03a98936ec802c9dc8be7358aecfd
Author: Fabio Massaioli <fbbdev@users.noreply.github.com>
Date: Wed, 30 Aug 2017 18:29:21 +0200
fir.hpp: remove unused template parameter
The fir function overload taking a fir_state object has an unused template argument that blocks template deduction. Probably copied by mistake from the other overload.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kfr/dsp/fir.hpp b/include/kfr/dsp/fir.hpp
@@ -162,7 +162,7 @@ CMT_INLINE internal::expression_fir<T, E1> fir(E1&& e1, const univector<T, Tag>&
* @param state FIR filter state
* @param e1 an input expression
*/
-template <typename T, typename E1, size_t Tag>
+template <typename T, typename E1>
CMT_INLINE internal::expression_fir<T, E1, true> fir(fir_state<T>& state, E1&& e1)
{
return internal::expression_fir<T, E1, true>(std::forward<E1>(e1), state);