tune thresholds

This commit is contained in:
conrad
2022-01-25 22:14:29 +10:00
parent a95c008e4f
commit c74a679811
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ op_pinv::apply_direct(Mat<typename T1::elem_type>& out, const Base<typename T1::
// auxlib::inv_sympd_rcond() will fail if A isn't really positive definite or its rcond is below rcond_threshold
}
if(do_sym && (n_rows > uword(32)))
if(do_sym && (n_rows > uword(40)))
{
arma_extra_debug_print("op_pinv: symmetric/hermitian optimisation");
+1 -1
View File
@@ -45,7 +45,7 @@ op_rank::apply(uword& out, const Base<typename T1::elem_type,T1>& expr, const ty
#if defined(ARMA_OPTIMISE_SYMPD)
bool do_sym = false;
if((auxlib::crippled_lapack(A) == false) && (A.n_rows >= uword(96)))
if((auxlib::crippled_lapack(A) == false) && (A.n_rows >= uword(128)))
{
bool is_approx_sym = false;
bool is_approx_sympd = false;