mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Resizing is done by call_assignment_noalias, so no need to perform it when dealing with aliasing.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user