From b5bb1e838e4e1fee426877560d29670890e57049 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 28 Apr 2024 16:44:22 +0100 Subject: [PATCH] Trivial precision adjustment in bezier_polynomial_test.cpp --- test/bezier_polynomial_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/bezier_polynomial_test.cpp b/test/bezier_polynomial_test.cpp index 05ee13ecf..4aadd3edc 100644 --- a/test/bezier_polynomial_test.cpp +++ b/test/bezier_polynomial_test.cpp @@ -173,9 +173,9 @@ void test_linear_precision() P[2] = (1-t)*P0[2] + t*Pf[2]; auto computed = bp(t); - CHECK_ULP_CLOSE(P[0], computed[0], 3); - CHECK_ULP_CLOSE(P[1], computed[1], 3); - CHECK_ULP_CLOSE(P[2], computed[2], 3); + CHECK_ULP_CLOSE(P[0], computed[0], 4); + CHECK_ULP_CLOSE(P[1], computed[1], 4); + CHECK_ULP_CLOSE(P[2], computed[2], 4); std::array dP; dP[0] = Pf[0] - P0[0];