summaryrefslogtreecommitdiff
path: root/gr-digital/lib/probe_mpsk_snr_est_c_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/lib/probe_mpsk_snr_est_c_impl.cc')
-rw-r--r--gr-digital/lib/probe_mpsk_snr_est_c_impl.cc12
1 files changed, 6 insertions, 6 deletions
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 */