diff --git a/src/Matrix.cpp b/src/Matrix.cpp index 7bc1975..0d1fad6 100644 --- a/src/Matrix.cpp +++ b/src/Matrix.cpp @@ -6,6 +6,7 @@ #include #include #include +#include template Matrix::Matrix(float value) @@ -104,7 +105,7 @@ Matrix::Sub(const Matrix &other, template template -Matrix & +Matrix & Matrix::Mult(const Matrix &other, Matrix &result) const { diff --git a/src/Matrix.hpp b/src/Matrix.hpp index 644aedf..2dd0d2a 100644 --- a/src/Matrix.hpp +++ b/src/Matrix.hpp @@ -67,8 +67,8 @@ public: * @param result A buffer to store the result into */ template - Matrix &Mult(const Matrix &other, - Matrix &result) const; + Matrix &Mult(const Matrix &other, + Matrix &result) const; /** * @brief Multiply the matrix by a scalar