From: Mikko Rasa Date: Tue, 14 May 2013 18:53:55 +0000 (+0300) Subject: Use the correct multiplication operator X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=e0d926c9c177ec28f1aaf326a6921438de9db9a3;p=libs%2Fmath.git Use the correct multiplication operator --- diff --git a/source/linal/squarematrix.h b/source/linal/squarematrix.h index 94157b0..ee86e13 100644 --- a/source/linal/squarematrix.h +++ b/source/linal/squarematrix.h @@ -42,8 +42,7 @@ inline SquareMatrix SquareMatrix::identity() template SquareMatrix &SquareMatrix::operator*=(const SquareMatrix &m) { - Matrix::operator*=(m); - return *this; + return *this = *this*m; } template