aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Matrix.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-11-30 21:25:51 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-11-30 21:25:51 +0100
commitab4df3e6ff530ab520884bdbf44d61b53b1ee05f (patch)
tree5bf64c4be3765993cbc70e454cc44baaf8c2bb02 /Eigen/src/Core/Matrix.h
parentc785464430bfc697debe3f8d49e49064aa08e0a3 (diff)
bug #1634: remove double copy in move-ctor of non movable Matrix/Array
Diffstat (limited to 'Eigen/src/Core/Matrix.h')
-rw-r--r--Eigen/src/Core/Matrix.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h
index 90c336d8c..7f4a7af93 100644
--- a/Eigen/src/Core/Matrix.h
+++ b/Eigen/src/Core/Matrix.h
@@ -274,8 +274,6 @@ class Matrix
: Base(std::move(other))
{
Base::_check_template_params();
- if (RowsAtCompileTime!=Dynamic && ColsAtCompileTime!=Dynamic)
- Base::_set_noalias(other);
}
EIGEN_DEVICE_FUNC
Matrix& operator=(Matrix&& other) EIGEN_NOEXCEPT_IF(std::is_nothrow_move_assignable<Scalar>::value)