From 565464f0cdd6e3ee3efe80e3bc97bc2d98492eac Mon Sep 17 00:00:00 2001 From: Orange Date: Wed, 17 Sep 2025 17:23:02 +0300 Subject: [PATCH] forgot std --- include/omath/linear_algebra/mat.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/omath/linear_algebra/mat.hpp b/include/omath/linear_algebra/mat.hpp index 6f5dfd8..4f5a7ed 100644 --- a/include/omath/linear_algebra/mat.hpp +++ b/include/omath/linear_algebra/mat.hpp @@ -158,19 +158,19 @@ namespace omath Mat result; if constexpr (StoreType == MatStoreType::ROW_MAJOR) - for (size_t i = 0; i < Rows; ++i) - for (size_t k = 0; k < Columns; ++k) + for (std::size_t i = 0; i < Rows; ++i) + for (std::size_t k = 0; k < Columns; ++k) { const Type aik = at(i, k); - for (size_t j = 0; j < OtherColumns; ++j) + for (std::size_t j = 0; j < OtherColumns; ++j) result.at(i, j) += aik * other.at(k, j); } else if constexpr (StoreType == MatStoreType::COLUMN_MAJOR) - for (size_t j = 0; j < OtherColumns; ++j) - for (size_t k = 0; k < Columns; ++k) + for (std::size_t j = 0; j < OtherColumns; ++j) + for (std::size_t k = 0; k < Columns; ++k) { const Type bkj = other.at(k, j); - for (size_t i = 0; i < Rows; ++i) + for (std::size_t i = 0; i < Rows; ++i) result.at(i, j) += at(i, k) * bkj; } else