From 87073e26f2f4c45b45fae261d6701f0185b27e4a Mon Sep 17 00:00:00 2001 From: elsid Date: Mon, 23 May 2022 17:18:00 +0200 Subject: [PATCH] Increase precision error for navigator tests --- apps/openmw_test_suite/detournavigator/navigator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw_test_suite/detournavigator/navigator.cpp b/apps/openmw_test_suite/detournavigator/navigator.cpp index c98a5b7a90..d8df4e00ae 100644 --- a/apps/openmw_test_suite/detournavigator/navigator.cpp +++ b/apps/openmw_test_suite/detournavigator/navigator.cpp @@ -27,7 +27,7 @@ MATCHER_P3(Vec3fEq, x, y, z, "") { - return std::abs(arg.x() - x) < 1e-4 && std::abs(arg.y() - y) < 1e-4 && std::abs(arg.z() - z) < 1e-4; + return std::abs(arg.x() - x) < 1e-3 && std::abs(arg.y() - y) < 1e-3 && std::abs(arg.z() - z) < 1e-3; } namespace