From 68f583c93676289a3de971c09f22062948e2a7d0 Mon Sep 17 00:00:00 2001 From: Orange Date: Sun, 20 Oct 2024 09:58:55 -0700 Subject: [PATCH] fix --- include/omath/Mat.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)