Increases the margin for the approx call to some of the wangs formula… … checks. Diffs= 7ee5f7d5a Increases the margin for the approx call to some of the wangs formula… (#5506) Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
diff --git a/.rive_head b/.rive_head index 854ddc4..6aa03ad 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -2f224da7f114e20624e38c05767b040d4f48c562 +7ee5f7d5a9af82205d32bfb979fdaac412b51cad
diff --git a/test/wangs_formula_test.cpp b/test/wangs_formula_test.cpp index 18cfa71..a24cd71 100644 --- a/test/wangs_formula_test.cpp +++ b/test/wangs_formula_test.cpp
@@ -599,7 +599,7 @@ map_pts(m, ptsXformed, pts, 3); float expected = wangs_formula::conic(kPrecision, ptsXformed, w); float actual = wangs_formula::conic(kPrecision, pts, w, wangs_formula::VectorXform(m)); - REQUIRE(actual == Approx(expected)); + REQUIRE(actual == Approx(expected).margin(1e-4)); }; for (int i = -10; i <= 10; ++i)