aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Matrix.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-08-03 16:05:15 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-08-03 16:05:15 +0200
commit3cf5bb31f6b6e3b6b8f229ed1658cb867fe6e8f5 (patch)
tree1b6f62f691f4879fe742c56a7234ca284a86e370 /Eigen/src/Core/Matrix.h
parentce1dc1ab165929edd7608d83e448d81e4f968038 (diff)
* Bye bye MultiplierBase, extend a bit AnyMatrixBase to allow =, +=, and -=
* This probably makes ReturnByValue needless
Diffstat (limited to 'Eigen/src/Core/Matrix.h')
-rw-r--r--Eigen/src/Core/Matrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h
index 8937596f2..c31acabca 100644
--- a/Eigen/src/Core/Matrix.h
+++ b/Eigen/src/Core/Matrix.h
@@ -462,6 +462,7 @@ class Matrix
: m_storage(other.derived().rows() * other.derived().cols(), other.derived().rows(), other.derived().cols())
{
_check_template_params();
+ resize(other.rows(), other.cols());
*this = other;
}