remove checking for matrix mul chains

This commit is contained in:
conrad
2025-02-03 14:55:59 +10:00
parent 7004caa4b4
commit e7ecee425f
+1 -1
View File
@@ -537,7 +537,7 @@ glue_times::apply_inplace_plus(Mat<typename T1::elem_type>& out, const Glue<T1,
typedef typename T1::elem_type eT;
typedef typename get_pod_type<eT>::result T;
if( X.is_alias(out) || (is_glue_times<T1>::value) || (is_outer_product<T1>::value) || (has_op_inv_any<T1>::value) || (has_op_inv_any<T2>::value) )
if( X.is_alias(out) || (is_outer_product<T1>::value) || (has_op_inv_any<T1>::value) || (has_op_inv_any<T2>::value) )
{
// handle aliasing and partial workaround for corner cases