From 1ba5d8f8f32bd8c279c8109f75d045e5effb89ec Mon Sep 17 00:00:00 2001 From: redstrate Date: Thu, 14 Oct 2021 16:42:37 -0400 Subject: [PATCH] Remove explicit Matrix constructor --- engine/math/include/matrix.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/math/include/matrix.hpp b/engine/math/include/matrix.hpp index eb89f7c..cc94414 100755 --- a/engine/math/include/matrix.hpp +++ b/engine/math/include/matrix.hpp @@ -8,7 +8,7 @@ template class Matrix { public: - constexpr explicit Matrix(const T diagonal = T(1)) { + constexpr Matrix(const T diagonal = T(1)) { for(std::size_t i = 0; i < (M * N); i++) unordered_data[i] = ((i / M) == (i % N) ? diagonal : T(0)); }