diff options
Diffstat (limited to 'meowpp/math/LinearTransformation.h')
-rw-r--r-- | meowpp/math/LinearTransformation.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/meowpp/math/LinearTransformation.h b/meowpp/math/LinearTransformation.h index 86724b7..f51630e 100644 --- a/meowpp/math/LinearTransformation.h +++ b/meowpp/math/LinearTransformation.h @@ -71,15 +71,13 @@ protected: } /*! - * @brief Setup the matrix - * - * @param [in] m matrix - * @return new matrix + * @brief setup the matrix */ - Matrix<Scalar> const& matrix(Matrix<Scalar> const& m) { + virtual Matrix<Scalar> const& matrix(Matrix<Scalar> const& m) { matrix_.copyFrom(m); - return matrix_; + return matrix(); } + public: /*! * Destructor @@ -106,6 +104,7 @@ public: } }; -} + +} // meow #endif // math_LinearTransformation_H__ |