remove redundant code

This commit is contained in:
conrad
2026-07-01 15:04:22 +10:00
parent 23f652e542
commit 25aca17550
+3 -9
View File
@@ -114,15 +114,9 @@ op_vectorise_col::apply_direct(Mat_noalias<typename T1::elem_type>& actual_out,
Mat<eT>& out = actual_out;
if(is_Mat<T1>::value)
{
const plain_unwrap<T1> U(expr);
out.set_size(U.M.n_elem, 1);
arrayops::copy(out.memptr(), U.M.memptr(), U.M.n_elem);
}
else
// no special handling for T1 = Mat, as that currently can't happen;
// the Mat class uses the Mat_noalias type only for delayed expressions
if(is_subview<T1>::value)
{
const subview<eT>& sv = reinterpret_cast< const subview<eT>& >(expr);