diff options
author | Ron Economos <w6rz@comcast.net> | 2020-11-08 03:33:22 -0800 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-12-17 08:33:21 -0500 |
commit | 4f3b31a3700b02baf35e5eb95485e6a64933f6b7 (patch) | |
tree | ef320973bbd25b1139c42ac1ed1e3c9cd80b0d35 | |
parent | 08cd88d474a86bd742a321745b225293dcea635c (diff) |
gr-filter: Remove unused parameter in polyphase_filterbank.
-rw-r--r-- | gr-filter/include/gnuradio/filter/polyphase_filterbank.h | 4 | ||||
-rw-r--r-- | gr-filter/lib/polyphase_filterbank.cc | 3 | ||||
-rw-r--r-- | gr-filter/python/filter/bindings/polyphase_filterbank_python.cc | 7 |
3 files changed, 4 insertions, 10 deletions
diff --git a/gr-filter/include/gnuradio/filter/polyphase_filterbank.h b/gr-filter/include/gnuradio/filter/polyphase_filterbank.h index 90e97ea8a0..64d315995a 100644 --- a/gr-filter/include/gnuradio/filter/polyphase_filterbank.h +++ b/gr-filter/include/gnuradio/filter/polyphase_filterbank.h @@ -104,9 +104,7 @@ public: * \param taps (vector/list of floats) The prototype filter to * populate the filterbank. */ - polyphase_filterbank(unsigned int nfilts, - const std::vector<float>& taps, - bool fft_forward = false); + polyphase_filterbank(unsigned int nfilts, const std::vector<float>& taps); /*! * Update the filterbank's filter taps from a prototype diff --git a/gr-filter/lib/polyphase_filterbank.cc b/gr-filter/lib/polyphase_filterbank.cc index eea8d6cac6..e0fcfda998 100644 --- a/gr-filter/lib/polyphase_filterbank.cc +++ b/gr-filter/lib/polyphase_filterbank.cc @@ -19,8 +19,7 @@ namespace gr { namespace filter { namespace kernel { polyphase_filterbank::polyphase_filterbank(unsigned int nfilts, - const std::vector<float>& taps, - bool fft_forward) + const std::vector<float>& taps) : d_nfilts(nfilts) { d_fir_filters.reserve(d_nfilts); diff --git a/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc b/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc index 60278e9347..383476bbc1 100644 --- a/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc +++ b/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc @@ -14,7 +14,7 @@ /* BINDTOOL_GEN_AUTOMATIC(0) */ /* BINDTOOL_USE_PYGCCXML(0) */ /* BINDTOOL_HEADER_FILE(polyphase_filterbank.h) */ -/* BINDTOOL_HEADER_FILE_HASH(74cd61e5d733f0b33073025d04d5e48e) */ +/* BINDTOOL_HEADER_FILE_HASH(00757cfefaac6f0906e8e0643ae0213c) */ /***********************************************************************************/ #include <pybind11/complex.h> @@ -39,12 +39,9 @@ void bind_polyphase_filterbank(py::module& m) py::class_<polyphase_filterbank, std::shared_ptr<polyphase_filterbank>>( m_kernel, "polyphase_filterbank", D(kernel, polyphase_filterbank)) - .def(py::init<unsigned int, - std::vector<float, std::allocator<float>> const&, - bool>(), + .def(py::init<unsigned int, std::vector<float, std::allocator<float>> const&>(), py::arg("nfilts"), py::arg("taps"), - py::arg("fft_forward") = false, D(kernel, polyphase_filterbank, polyphase_filterbank, 0)) |