diff --git a/include/armadillo_bits/glue_solve_meat.hpp b/include/armadillo_bits/glue_solve_meat.hpp index 613bd237..830f4c85 100644 --- a/include/armadillo_bits/glue_solve_meat.hpp +++ b/include/armadillo_bits/glue_solve_meat.hpp @@ -380,7 +380,7 @@ glue_solve_gen_full::apply(Mat& actual_out, const Base& A_expr, const } else { - arma_warn(2, "solve(): system is singular; attempting approx solution; rcond: ", rcond); + arma_warn(2, "solve(): system is singular; rcond: ", rcond, "; attempting approx solution"); } // TODO: conditionally recreate A: have a separate state flag which indicates whether A was previously overwritten @@ -472,7 +472,7 @@ glue_solve_tri_default::apply(Mat& actual_out, const Base& A_expr, co } else { - arma_warn(2, "solve(): system is singular; attempting approx solution; rcond: ", rcond); + arma_warn(2, "solve(): system is singular; rcond: ", rcond, "; attempting approx solution"); } Mat triA = (triu) ? trimatu(A) : trimatl(A); // trimatu() and trimatl() return the same type @@ -598,7 +598,7 @@ glue_solve_tri_full::apply(Mat& actual_out, const Base& A_expr, const } else { - arma_warn(2, "solve(): system is singular; attempting approx solution; rcond: ", rcond); + arma_warn(2, "solve(): system is singular; rcond: ", rcond, "; attempting approx solution"); } Mat triA = (triu) ? trimatu(A) : trimatl(A); // trimatu() and trimatl() return the same type