From 3cf5bb31f6b6e3b6b8f229ed1658cb867fe6e8f5 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 3 Aug 2009 16:05:15 +0200 Subject: * Bye bye MultiplierBase, extend a bit AnyMatrixBase to allow =, +=, and -= * This probably makes ReturnByValue needless --- Eigen/src/Core/Matrix.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Eigen/src/Core/Matrix.h') 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; } -- cgit v1.2.3