This commit is contained in:
conrad
2022-03-24 13:37:25 +10:00
parent eaa15e34b2
commit 53f351b2ea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ op_inv_gen_full::apply_direct(Mat<typename T1::elem_type>& out, const Base<typen
const bool status = op_inv_gen_rcond::apply_direct(tmp, rcond, expr);
if((status == false) || (rcond < auxlib::epsilon_lapack(out)))
if((status == false) || (rcond < auxlib::epsilon_lapack(tmp)))
{
Mat<eT> A = expr.get_ref();
+1 -1
View File
@@ -111,7 +111,7 @@ op_inv_spd_full::apply_direct(Mat<typename T1::elem_type>& out, const Base<typen
const bool status = op_inv_spd_rcond::apply_direct(tmp, rcond, expr);
if((status == false) || (rcond < auxlib::epsilon_lapack(out)))
if((status == false) || (rcond < auxlib::epsilon_lapack(tmp)))
{
const Mat<eT> A = expr.get_ref();