diff options
Diffstat (limited to 'gr-digital/lib')
-rw-r--r-- | gr-digital/lib/mpsk_snr_est_cc_impl.cc | 8 | ||||
-rw-r--r-- | gr-digital/lib/pfb_clock_sync_ccf_impl.cc | 2 | ||||
-rw-r--r-- | gr-digital/lib/pfb_clock_sync_fff_impl.cc | 2 | ||||
-rw-r--r-- | gr-digital/lib/probe_mpsk_snr_est_c_impl.cc | 12 |
4 files changed, 12 insertions, 12 deletions
diff --git a/gr-digital/lib/mpsk_snr_est_cc_impl.cc b/gr-digital/lib/mpsk_snr_est_cc_impl.cc index de0ab57eb9..f31ae3f6e9 100644 --- a/gr-digital/lib/mpsk_snr_est_cc_impl.cc +++ b/gr-digital/lib/mpsk_snr_est_cc_impl.cc @@ -113,7 +113,7 @@ double mpsk_snr_est_cc_impl::snr() if (d_snr_est) return d_snr_est->snr(); else - throw std::runtime_error("mpsk_snr_est_cc_impl:: No SNR estimator defined.\n"); + throw std::runtime_error("mpsk_snr_est_cc_impl:: No SNR estimator defined."); } snr_est_type_t mpsk_snr_est_cc_impl::type() const { return d_type; } @@ -143,7 +143,7 @@ void mpsk_snr_est_cc_impl::set_type(snr_est_type_t t) d_snr_est = new mpsk_snr_est_svr(d_alpha); break; default: - throw std::invalid_argument("mpsk_snr_est_cc_impl: unknown type specified.\n"); + throw std::invalid_argument("mpsk_snr_est_cc_impl: unknown type specified."); } } @@ -153,7 +153,7 @@ void mpsk_snr_est_cc_impl::set_tag_nsample(int n) d_nsamples = n; d_count = 0; // reset state } else - throw std::invalid_argument("mpsk_snr_est_cc_impl: tag_nsamples can't be <= 0\n"); + throw std::invalid_argument("mpsk_snr_est_cc_impl: tag_nsamples can't be <= 0"); } void mpsk_snr_est_cc_impl::set_alpha(double alpha) @@ -163,7 +163,7 @@ void mpsk_snr_est_cc_impl::set_alpha(double alpha) if (d_snr_est) d_snr_est->set_alpha(d_alpha); } else - throw std::invalid_argument("mpsk_snr_est_cc_impl: alpha must be in [0,1]\n"); + throw std::invalid_argument("mpsk_snr_est_cc_impl: alpha must be in [0,1]"); } } /* namespace digital */ diff --git a/gr-digital/lib/pfb_clock_sync_ccf_impl.cc b/gr-digital/lib/pfb_clock_sync_ccf_impl.cc index 103fac6850..2485560aa2 100644 --- a/gr-digital/lib/pfb_clock_sync_ccf_impl.cc +++ b/gr-digital/lib/pfb_clock_sync_ccf_impl.cc @@ -69,7 +69,7 @@ pfb_clock_sync_ccf_impl::pfb_clock_sync_ccf_impl(double sps, d_out_idx(0) { if (taps.empty()) - throw std::runtime_error("pfb_clock_sync_ccf: please specify a filter.\n"); + throw std::runtime_error("pfb_clock_sync_ccf: please specify a filter."); // Let scheduler adjust our relative_rate. // enable_update_rate(true); diff --git a/gr-digital/lib/pfb_clock_sync_fff_impl.cc b/gr-digital/lib/pfb_clock_sync_fff_impl.cc index 75973b84a0..aaec9aa56b 100644 --- a/gr-digital/lib/pfb_clock_sync_fff_impl.cc +++ b/gr-digital/lib/pfb_clock_sync_fff_impl.cc @@ -66,7 +66,7 @@ pfb_clock_sync_fff_impl::pfb_clock_sync_fff_impl(double sps, d_out_idx(0) { if (taps.empty()) - throw std::runtime_error("pfb_clock_sync_fff: please specify a filter.\n"); + throw std::runtime_error("pfb_clock_sync_fff: please specify a filter."); // Let scheduler adjust our relative_rate. enable_update_rate(true); diff --git a/gr-digital/lib/probe_mpsk_snr_est_c_impl.cc b/gr-digital/lib/probe_mpsk_snr_est_c_impl.cc index f05dfa1c5a..7b023ba4d3 100644 --- a/gr-digital/lib/probe_mpsk_snr_est_c_impl.cc +++ b/gr-digital/lib/probe_mpsk_snr_est_c_impl.cc @@ -97,7 +97,7 @@ double probe_mpsk_snr_est_c_impl::snr() return d_snr_est->snr(); else throw std::runtime_error( - "probe_mpsk_snr_est_c_impl:: No SNR estimator defined.\n"); + "probe_mpsk_snr_est_c_impl:: No SNR estimator defined."); } double probe_mpsk_snr_est_c_impl::signal() @@ -106,7 +106,7 @@ double probe_mpsk_snr_est_c_impl::signal() return d_snr_est->signal(); else throw std::runtime_error( - "probe_mpsk_snr_est_c_impl:: No SNR estimator defined.\n"); + "probe_mpsk_snr_est_c_impl:: No SNR estimator defined."); } @@ -116,7 +116,7 @@ double probe_mpsk_snr_est_c_impl::noise() return d_snr_est->noise(); else throw std::runtime_error( - "probe_mpsk_snr_est_c_impl:: No SNR estimator defined.\n"); + "probe_mpsk_snr_est_c_impl:: No SNR estimator defined."); } snr_est_type_t probe_mpsk_snr_est_c_impl::type() const { return d_type; } @@ -147,7 +147,7 @@ void probe_mpsk_snr_est_c_impl::set_type(snr_est_type_t t) break; default: throw std::invalid_argument( - "probe_mpsk_snr_est_c_impl: unknown type specified.\n"); + "probe_mpsk_snr_est_c_impl: unknown type specified."); } } @@ -158,7 +158,7 @@ void probe_mpsk_snr_est_c_impl::set_msg_nsample(int n) d_count = 0; // reset state } else throw std::invalid_argument( - "probe_mpsk_snr_est_c_impl: msg_nsamples can't be <= 0\n"); + "probe_mpsk_snr_est_c_impl: msg_nsamples can't be <= 0"); } void probe_mpsk_snr_est_c_impl::set_alpha(double alpha) @@ -169,7 +169,7 @@ void probe_mpsk_snr_est_c_impl::set_alpha(double alpha) d_snr_est->set_alpha(d_alpha); } else throw std::invalid_argument( - "probe_mpsk_snr_est_c_impl: alpha must be in [0,1]\n"); + "probe_mpsk_snr_est_c_impl: alpha must be in [0,1]"); } } /* namespace digital */ |