Resizing is done by call_assignment_noalias, so no need to perform it when dealing with aliasing.

This commit is contained in:
Gael Guennebaud 2014-07-21 11:46:47 +02:00
parent 946b99dd5c
commit 9b729f93a1

View File

@ -702,8 +702,6 @@ void call_assignment(Dst& dst, const Src& src, const Func& func, typename enable
call_assignment_no_alias(tmp, src, internal::assign_op<typename Dst::Scalar>());
#endif
// resizing
dst.resize(tmp.rows(), tmp.cols());
call_assignment_no_alias(dst, tmp, func);
}