fix a couple of issues related to recent products

This commit is contained in:
Gael Guennebaud
2009-07-28 18:11:30 +02:00
parent 1ba35248e9
commit 864171df5c
9 changed files with 35 additions and 18 deletions

View File

@@ -294,7 +294,7 @@ MatrixBase<Derived>::operator*(const MatrixBase<OtherDerived> &other) const
template<typename Derived>
template<typename OtherDerived>
inline Derived &
MatrixBase<Derived>::operator*=(const MatrixBase<OtherDerived> &other)
MatrixBase<Derived>::operator*=(const MultiplierBase<OtherDerived> &other)
{
return derived() = derived() * other.derived();
}