diff options
Diffstat (limited to 'gr-digital/lib')
-rw-r--r-- | gr-digital/lib/symbol_sync_cc_impl.cc | 4 | ||||
-rw-r--r-- | gr-digital/lib/symbol_sync_ff_impl.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-digital/lib/symbol_sync_cc_impl.cc b/gr-digital/lib/symbol_sync_cc_impl.cc index 55f85e7c6a..55f162dc72 100644 --- a/gr-digital/lib/symbol_sync_cc_impl.cc +++ b/gr-digital/lib/symbol_sync_cc_impl.cc @@ -13,9 +13,9 @@ #endif #include "symbol_sync_cc_impl.h" +#include <gnuradio/integer_math.h> #include <gnuradio/io_signature.h> #include <gnuradio/math.h> -#include <boost/math/common_factor.hpp> #include <stdexcept> namespace gr { @@ -95,7 +95,7 @@ symbol_sync_cc_impl::symbol_sync_cc_impl(enum ted_type detector_type, throw std::runtime_error("unable to create interpolating_resampler_ccf"); // Block Internal Clocks - d_interps_per_symbol_n = boost::math::lcm(d_ted->inputs_per_symbol(), d_osps_n); + d_interps_per_symbol_n = GR_LCM(d_ted->inputs_per_symbol(), d_osps_n); d_interps_per_ted_input_n = d_interps_per_symbol_n / d_ted->inputs_per_symbol(); d_interps_per_output_sample_n = d_interps_per_symbol_n / d_osps_n; diff --git a/gr-digital/lib/symbol_sync_ff_impl.cc b/gr-digital/lib/symbol_sync_ff_impl.cc index d0ec32ab19..1172c1b4f8 100644 --- a/gr-digital/lib/symbol_sync_ff_impl.cc +++ b/gr-digital/lib/symbol_sync_ff_impl.cc @@ -13,9 +13,9 @@ #endif #include "symbol_sync_ff_impl.h" +#include <gnuradio/integer_math.h> #include <gnuradio/io_signature.h> #include <gnuradio/math.h> -#include <boost/math/common_factor.hpp> #include <stdexcept> namespace gr { @@ -97,7 +97,7 @@ symbol_sync_ff_impl::symbol_sync_ff_impl(enum ted_type detector_type, throw std::runtime_error("unable to create interpolating_resampler_fff"); // Block Internal Clocks - d_interps_per_symbol_n = boost::math::lcm(d_ted->inputs_per_symbol(), d_osps_n); + d_interps_per_symbol_n = GR_LCM(d_ted->inputs_per_symbol(), d_osps_n); d_interps_per_ted_input_n = d_interps_per_symbol_n / d_ted->inputs_per_symbol(); d_interps_per_output_sample_n = d_interps_per_symbol_n / d_osps_n; |