Add MinGW support

This commit is contained in:
Saikari
2025-12-17 14:36:03 +03:00
parent 0358e431f2
commit a17e3af0ab
5 changed files with 427 additions and 15 deletions

View File

@@ -380,7 +380,9 @@ namespace omath
{
const auto det = determinant();
if (det == 0)
constexpr Type det_epsilon = static_cast<Type>(1e-6);
if (std::abs(det) < det_epsilon)
return std::nullopt;
const auto transposed_mat = transposed();