'seems' -> 'is'
This commit is contained in:
@@ -51,7 +51,7 @@ inv
|
||||
if(status == false)
|
||||
{
|
||||
out.soft_reset();
|
||||
arma_debug_warn_level(3, "inv(): matrix seems singular");
|
||||
arma_debug_warn_level(3, "inv(): matrix is singular");
|
||||
}
|
||||
|
||||
return status;
|
||||
|
||||
@@ -109,12 +109,12 @@ spsolve_helper
|
||||
|
||||
if( (status == false) && (rcond > T(0)) )
|
||||
{
|
||||
arma_debug_warn_level(2, "spsolve(): system seems singular (rcond: ", rcond, ")");
|
||||
arma_debug_warn_level(2, "spsolve(): system is singular (rcond: ", rcond, ")");
|
||||
}
|
||||
|
||||
if( (status == true) && (rcond > T(0)) && (rcond < auxlib::epsilon_lapack(out)) )
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system seems singular to working precision (rcond: ", rcond, ")");
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system is singular to working precision (rcond: ", rcond, ")");
|
||||
}
|
||||
|
||||
return status;
|
||||
|
||||
@@ -56,7 +56,7 @@ sqrtmat(Mat< std::complex<typename T1::elem_type> >& Y, const Base<typename T1::
|
||||
|
||||
if(status == false)
|
||||
{
|
||||
arma_debug_warn_level(3, "sqrtmat(): given matrix seems singular; may not have a square root");
|
||||
arma_debug_warn_level(3, "sqrtmat(): given matrix is singular; may not have a square root");
|
||||
}
|
||||
|
||||
return status;
|
||||
@@ -75,7 +75,7 @@ sqrtmat(Mat<typename T1::elem_type>& Y, const Base<typename T1::elem_type,T1>& X
|
||||
|
||||
if(status == false)
|
||||
{
|
||||
arma_debug_warn_level(3, "sqrtmat(): given matrix seems singular; may not have a square root");
|
||||
arma_debug_warn_level(3, "sqrtmat(): given matrix is singular; may not have a square root");
|
||||
}
|
||||
|
||||
return status;
|
||||
|
||||
@@ -239,7 +239,7 @@ glue_solve_gen::apply(Mat<eT>& out, const Base<eT,T1>& A_expr, const Base<eT,T2>
|
||||
|
||||
if( (status == true) && (rcond > T(0)) && (rcond < auxlib::epsilon_lapack(A)) )
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system seems singular to working precision (rcond: ", rcond, ")");
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system is singular to working precision (rcond: ", rcond, ")");
|
||||
}
|
||||
|
||||
|
||||
@@ -249,11 +249,11 @@ glue_solve_gen::apply(Mat<eT>& out, const Base<eT,T1>& A_expr, const Base<eT,T2>
|
||||
|
||||
if(rcond > T(0))
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): system seems singular (rcond: ", rcond, "); attempting approx solution");
|
||||
arma_debug_warn_level(2, "solve(): system is singular (rcond: ", rcond, "); attempting approx solution");
|
||||
}
|
||||
else
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): system seems singular; attempting approx solution");
|
||||
arma_debug_warn_level(2, "solve(): system is singular; attempting approx solution");
|
||||
}
|
||||
|
||||
// TODO: conditionally recreate A: have a separate state flag which indicates whether A was previously overwritten
|
||||
@@ -282,7 +282,7 @@ glue_solve_gen::apply(Mat<eT>& out, const Base<eT,T1>& A_expr, const Base<eT,T2>
|
||||
|
||||
if( (status == true) && (rcond > T(0)) && (rcond < auxlib::epsilon_lapack(A)) )
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system seems singular to working precision (rcond: ", rcond, ")");
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system is singular to working precision (rcond: ", rcond, ")");
|
||||
}
|
||||
|
||||
if( (status == false) && (no_approx == false) )
|
||||
@@ -291,11 +291,11 @@ glue_solve_gen::apply(Mat<eT>& out, const Base<eT,T1>& A_expr, const Base<eT,T2>
|
||||
|
||||
if(rcond > T(0))
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): system seems singular (rcond: ", rcond, "); attempting approx solution");
|
||||
arma_debug_warn_level(2, "solve(): system is singular (rcond: ", rcond, "); attempting approx solution");
|
||||
}
|
||||
else
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): system seems singular; attempting approx solution");
|
||||
arma_debug_warn_level(2, "solve(): system is singular; attempting approx solution");
|
||||
}
|
||||
|
||||
A = A_expr.get_ref(); // as A was overwritten
|
||||
@@ -368,7 +368,7 @@ glue_solve_tri_default::apply(Mat<eT>& actual_out, const Base<eT,T1>& A_expr, co
|
||||
|
||||
if( (status == true) && (rcond > T(0)) && (rcond < auxlib::epsilon_lapack(A)) )
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system seems singular to working precision (rcond: ", rcond, ")");
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system is singular to working precision (rcond: ", rcond, ")");
|
||||
}
|
||||
|
||||
|
||||
@@ -378,11 +378,11 @@ glue_solve_tri_default::apply(Mat<eT>& actual_out, const Base<eT,T1>& A_expr, co
|
||||
|
||||
if(rcond > T(0))
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): system seems singular (rcond: ", rcond, "); attempting approx solution");
|
||||
arma_debug_warn_level(2, "solve(): system is singular (rcond: ", rcond, "); attempting approx solution");
|
||||
}
|
||||
else
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): system seems singular; attempting approx solution");
|
||||
arma_debug_warn_level(2, "solve(): system is singular; attempting approx solution");
|
||||
}
|
||||
|
||||
Mat<eT> triA = (triu) ? trimatu(A) : trimatl(A); // trimatu() and trimatl() return the same type
|
||||
@@ -481,7 +481,7 @@ glue_solve_tri::apply(Mat<eT>& actual_out, const Base<eT,T1>& A_expr, const Base
|
||||
|
||||
if( (status == true) && (rcond > T(0)) && (rcond < auxlib::epsilon_lapack(A)) )
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system seems singular to working precision (rcond: ", rcond, ")");
|
||||
arma_debug_warn_level(2, "solve(): solution computed, but system is singular to working precision (rcond: ", rcond, ")");
|
||||
}
|
||||
|
||||
|
||||
@@ -491,11 +491,11 @@ glue_solve_tri::apply(Mat<eT>& actual_out, const Base<eT,T1>& A_expr, const Base
|
||||
|
||||
if(rcond > T(0))
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): system seems singular (rcond: ", rcond, "); attempting approx solution");
|
||||
arma_debug_warn_level(2, "solve(): system is singular (rcond: ", rcond, "); attempting approx solution");
|
||||
}
|
||||
else
|
||||
{
|
||||
arma_debug_warn_level(2, "solve(): system seems singular; attempting approx solution");
|
||||
arma_debug_warn_level(2, "solve(): system is singular; attempting approx solution");
|
||||
}
|
||||
|
||||
Mat<eT> triA = (triu) ? trimatu(A) : trimatl(A); // trimatu() and trimatl() return the same type
|
||||
|
||||
@@ -31,7 +31,7 @@ op_inv::apply(Mat<typename T1::elem_type>& out, const Op<T1,op_inv>& X)
|
||||
if(status == false)
|
||||
{
|
||||
out.soft_reset();
|
||||
arma_stop_runtime_error("inv(): matrix seems singular");
|
||||
arma_stop_runtime_error("inv(): matrix is singular");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ op_sqrtmat::apply(Mat< std::complex<typename T1::elem_type> >& out, const mtOp<s
|
||||
|
||||
if(status == false)
|
||||
{
|
||||
arma_debug_warn_level(3, "sqrtmat(): given matrix seems singular; may not have a square root");
|
||||
arma_debug_warn_level(3, "sqrtmat(): given matrix is singular; may not have a square root");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ op_sqrtmat_cx::apply(Mat<typename T1::elem_type>& out, const Op<T1,op_sqrtmat_cx
|
||||
|
||||
if(status == false)
|
||||
{
|
||||
arma_debug_warn_level(3, "sqrtmat(): given matrix seems singular; may not have a square root");
|
||||
arma_debug_warn_level(3, "sqrtmat(): given matrix is singular; may not have a square root");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user