only apply sym optimisation if matrix is large enough, due to issues with openmp variant of openblas

This commit is contained in:
conrad
2022-01-25 16:50:43 +10:00
parent 7b53baebad
commit a95c008e4f
+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)
if((auxlib::crippled_lapack(A) == false) && (A.n_rows >= uword(96)))
{
bool is_approx_sym = false;
bool is_approx_sympd = false;