diff options
Diffstat (limited to 'host/lib/rfnoc/duc_block_ctrl_impl.cpp')
-rw-r--r-- | host/lib/rfnoc/duc_block_ctrl_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/duc_block_ctrl_impl.cpp b/host/lib/rfnoc/duc_block_ctrl_impl.cpp index 7f22ca903..cc9d30361 100644 --- a/host/lib/rfnoc/duc_block_ctrl_impl.cpp +++ b/host/lib/rfnoc/duc_block_ctrl_impl.cpp @@ -230,7 +230,7 @@ private: return range; } - double set_input_rate(const int requested_rate, const size_t chan) + double set_input_rate(const double requested_rate, const size_t chan) { const double output_rate = get_arg<double>("output_rate", chan); const size_t interp_rate = boost::math::iround(output_rate/get_input_rates().clip(requested_rate, true)); |