From e0d926c9c177ec28f1aaf326a6921438de9db9a3 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 14 May 2013 21:53:55 +0300 Subject: [PATCH] Use the correct multiplication operator --- source/linal/squarematrix.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.43.0