aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/cores
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/cores')
-rw-r--r--host/lib/usrp/cores/rx_dsp_core_3000.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/cores/rx_dsp_core_3000.cpp b/host/lib/usrp/cores/rx_dsp_core_3000.cpp
index 1c15180ae..2c6aad014 100644
--- a/host/lib/usrp/cores/rx_dsp_core_3000.cpp
+++ b/host/lib/usrp/cores/rx_dsp_core_3000.cpp
@@ -260,7 +260,7 @@ public:
uhd::meta_range_t get_freq_range(void) override
{
// Too keep the DSP range symmetric about 0, we use abs(_dsp_freq_offset)
- const double offset = std::abs<double>(_dsp_freq_offset);
+ const double offset = std::abs(_dsp_freq_offset);
return uhd::meta_range_t(-(_tick_rate - offset) / 2,
+(_tick_rate - offset) / 2,
_tick_rate / std::pow(2.0, 32));