summaryrefslogtreecommitdiff
path: root/gr-fec/lib/fec_mtrx_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fec/lib/fec_mtrx_impl.cc')
-rw-r--r--gr-fec/lib/fec_mtrx_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-fec/lib/fec_mtrx_impl.cc b/gr-fec/lib/fec_mtrx_impl.cc
index 302928665f..e84645f474 100644
--- a/gr-fec/lib/fec_mtrx_impl.cc
+++ b/gr-fec/lib/fec_mtrx_impl.cc
@@ -397,7 +397,7 @@ gsl_matrix* fec_mtrx_impl::calc_inverse_mod2(const gsl_matrix* original_matrix)
if (status) {
// Inverse not found by GSL functions.
- throw "Error in calc_inverse_mod2(): inverse not found.\n";
+ throw "Error in calc_inverse_mod2(): inverse not found.";
}
// Find determinant
@@ -422,7 +422,7 @@ gsl_matrix* fec_mtrx_impl::calc_inverse_mod2(const gsl_matrix* original_matrix)
int max_value = gsl_matrix_max(matrix_inverse);
if (!max_value) {
- throw "Error in calc_inverse_mod2(): The matrix inverse found is all zeros.\n";
+ throw "Error in calc_inverse_mod2(): The matrix inverse found is all zeros.";
}
// Verify that the inverse was found by taking matrix
@@ -439,7 +439,7 @@ gsl_matrix* fec_mtrx_impl::calc_inverse_mod2(const gsl_matrix* original_matrix)
double test_if_not_equal = gsl_matrix_max(identity);
if (test_if_not_equal > 0) {
- throw "Error in calc_inverse_mod2(): The matrix inverse found is not valid.\n";
+ throw "Error in calc_inverse_mod2(): The matrix inverse found is not valid.";
}
return matrix_inverse;