use threshold

This commit is contained in:
conrad
2024-11-09 16:21:43 +10:00
parent 18a2a42061
commit 77fccf7db1
+2 -2
View File
@@ -167,8 +167,8 @@ glue_solve_gen_full::apply(Mat<eT>& actual_out, const Base<eT,T1>& A_expr, const
const bool is_triu = (no_trimat || refine || equilibrate || likely_sympd || is_band ) ? false : trimat_helper::is_triu(A);
const bool is_tril = (no_trimat || refine || equilibrate || likely_sympd || is_band || is_triu) ? false : trimat_helper::is_tril(A);
const bool try_sympd = arma_config::optimise_sym && (( no_sympd || is_band || is_triu || is_tril || auxlib::crippled_lapack(A)) ? false : likely_sympd );
const bool is_sym = arma_config::optimise_sym && ((likely_sympd || is_band || is_triu || is_tril || auxlib::crippled_lapack(A)) ? false : sym_helper::is_approx_sym(A));
const bool try_sympd = arma_config::optimise_sym && (( no_sympd || is_band || is_triu || is_tril || auxlib::crippled_lapack(A)) ? false : likely_sympd );
const bool is_sym = arma_config::optimise_sym && ((likely_sympd || is_band || is_triu || is_tril || auxlib::crippled_lapack(A)) ? false : sym_helper::is_approx_sym(A,uword(16)));
if(fast)
{