]> git.tdb.fi Git - libs/math.git/commitdiff
Support Matrix multiplication operators on SquareMatrix
authorMikko Rasa <tdb@tdb.fi>
Wed, 30 Dec 2020 15:14:55 +0000 (17:14 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 30 Dec 2020 15:14:55 +0000 (17:14 +0200)
source/linal/squarematrix.h

index b8531aafcb8359bcda6ea35628a9f561f77b677b..5b9415a0e22bcddff7f738284b455a7a5a7cb76c 100644 (file)
@@ -24,6 +24,7 @@ public:
        static SquareMatrix identity();
 
        SquareMatrix &operator*=(const SquareMatrix &);
+       using Matrix<T, S, S>::operator*=;
 
        SquareMatrix &invert();
 };