From 5388b4ec782d964b9040d9498742824aa08c5f6b Mon Sep 17 00:00:00 2001 From: vng Date: Sun, 4 Apr 2021 19:40:49 +0300 Subject: [PATCH] [tests] Fixed calculation epsilon (-ffast-math?). Signed-off-by: vng --- geometry/geometry_tests/area_on_earth_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry/geometry_tests/area_on_earth_tests.cpp b/geometry/geometry_tests/area_on_earth_tests.cpp index 9bb490686b..cd5378ead7 100644 --- a/geometry/geometry_tests/area_on_earth_tests.cpp +++ b/geometry/geometry_tests/area_on_earth_tests.cpp @@ -30,7 +30,7 @@ UNIT_TEST(AreaOnEarth_ThreePoints) TEST_ALMOST_EQUAL_ABS(ms::AreaOnEarth({90.0, 0.0}, {0.0, 0.0}, {0.0, 90.0}), kEarthSurfaceArea / 8.0, - 1e-2, ()); + 1e-1, ()); TEST_ALMOST_EQUAL_ABS(ms::AreaOnEarth({90.0, 0.0}, {0.0, 90.0}, {0.0, -90.0}), kEarthSurfaceArea / 4.0,