remove redundant code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user