diff --git a/include/omath/Mat.hpp b/include/omath/Mat.hpp index c41bfb9..c68dc95 100644 --- a/include/omath/Mat.hpp +++ b/include/omath/Mat.hpp @@ -116,7 +116,7 @@ namespace omath return result; } - constexpr Mat &operator*=(Type f) noexcept + constexpr Mat &operator*=(const Type& f) noexcept { for (size_t i = 0; i < Rows; ++i) for (size_t j = 0; j < Columns; ++j)