diff --git a/include/armadillo_bits/op_trimat_meat.hpp b/include/armadillo_bits/op_trimat_meat.hpp index 2a9e160e..79225153 100644 --- a/include/armadillo_bits/op_trimat_meat.hpp +++ b/include/armadillo_bits/op_trimat_meat.hpp @@ -68,7 +68,7 @@ op_trimat::apply(Mat& out, const Op& in) const bool upper = (in.aux_uword_a == 0); // allow detection of in-place operation - if(is_Mat::value) + if(is_Mat::value || (arma_config::openmp && Proxy::use_mp)) { const unwrap U(in.m); @@ -80,7 +80,7 @@ op_trimat::apply(Mat& out, const Op& in) const bool is_alias = P.is_alias(out); - if(is_Mat::stored_type>::value || (arma_config::openmp && Proxy::use_mp)) + if(is_Mat::stored_type>::value) { const quasi_unwrap::stored_type> U(P.Q);