diff options
Diffstat (limited to 'src/MatrixBase.h')
-rw-r--r-- | src/MatrixBase.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/MatrixBase.h b/src/MatrixBase.h index 7c817bda3..ab86f3289 100644 --- a/src/MatrixBase.h +++ b/src/MatrixBase.h @@ -206,11 +206,14 @@ class MatrixBase MatrixBase& operator+=(const MatrixConstXpr<Content> &xpr); template<typename Content> MatrixBase& operator-=(const MatrixConstXpr<Content> &xpr); + template<typename Content> + MatrixBase& operator*=(const MatrixConstXpr<Content> &xpr); template<typename Derived2> MatrixBase& operator+=(const MatrixBase<Derived2> &other); template<typename Derived2> MatrixBase& operator-=(const MatrixBase<Derived2> &other); - + template<typename Derived2> + MatrixBase& operator*=(const MatrixBase<Derived2> &other); protected: |