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();