diff options
author | Thomas Habets <thomas@habets.se> | 2019-12-21 19:38:44 +0000 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2020-01-01 19:40:43 -0800 |
commit | 183a35ee554fd2034acbc5ac91e32abd046d5de1 (patch) | |
tree | eb77ac056d06a81c2a9e2c9f7b4901cac63077d3 /gr-fec/lib/fec_mtrx_impl.cc | |
parent | 24725470892c770b8f0cd5f839588a8a5125caa6 (diff) |
Remove newlines from exception messages
Diffstat (limited to 'gr-fec/lib/fec_mtrx_impl.cc')
-rw-r--r-- | gr-fec/lib/fec_mtrx_impl.cc | 6 |
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; |