Skip to content

Commit 4599020

Browse files
matthias-kleinershahor02
authored andcommitted
Piecewise polynomials: increase tolerance for test
1 parent 58ea351 commit 4599020

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

GPU/TPCFastTransformation/test/testMultivarPolynomials.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ BOOST_AUTO_TEST_CASE(Piecewise_polynomials)
186186
const float arr[nDim]{a, b, c, d, e};
187187
const float valCT = polCT.eval(arr);
188188
const float valpiecewisePol = piecewisePol.evalUnsafe(arr);
189-
if (std::abs(valCT) < 0.1) {
190-
BOOST_CHECK_SMALL(valCT - valpiecewisePol, 0.01f);
189+
if (std::abs(valCT) < 0.2) {
190+
BOOST_CHECK_SMALL(valCT - valpiecewisePol, 0.02f);
191191
} else {
192192
BOOST_CHECK_CLOSE(valpiecewisePol, valCT, 0.5);
193193
}

0 commit comments

Comments
 (0)