From 136cd39496b763b8b1ffb06aabd8d5d9119ca249 Mon Sep 17 00:00:00 2001 From: Orange Date: Sun, 14 Jun 2026 22:30:26 +0300 Subject: [PATCH] fix --- include/omath/linear_algebra/mat.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/omath/linear_algebra/mat.hpp b/include/omath/linear_algebra/mat.hpp index 012c3e6..231d215 100644 --- a/include/omath/linear_algebra/mat.hpp +++ b/include/omath/linear_algebra/mat.hpp @@ -398,7 +398,7 @@ namespace omath { const auto det = determinant(); - if (std::abs(det) < std::numeric_limits::epsilon()) + if (internal::abs(det) < std::numeric_limits::epsilon()) return std::nullopt; const auto transposed_mat = transposed();