diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-07-20 10:44:07 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-07-20 10:44:07 +0200 |
commit | b3ad796d4087ca768452d1bbe0555a85cd7e1dde (patch) | |
tree | dbaf6280efb4075aea6bb35b1b8f34666809f453 /Eigen | |
parent | a551107ccea8fe027d2672cb82f6b70e741bb996 (diff) |
bugfix in operator*= (matrix product)
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/Product.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 05a8221ee..52fb0db2c 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -300,7 +300,7 @@ template<typename OtherDerived> inline Derived & MatrixBase<Derived>::operator*=(const MatrixBase<OtherDerived> &other) { - return *this = *this * other; + return derived() = derived() * other.derived(); } /*************************************************************************** |