mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 16:24:28 +08:00
Resizing is done by call_assignment_noalias, so no need to perform it when dealing with aliasing.
This commit is contained in:
parent
946b99dd5c
commit
9b729f93a1
@ -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>());
|
call_assignment_no_alias(tmp, src, internal::assign_op<typename Dst::Scalar>());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// resizing
|
|
||||||
dst.resize(tmp.rows(), tmp.cols());
|
|
||||||
call_assignment_no_alias(dst, tmp, func);
|
call_assignment_no_alias(dst, tmp, func);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user