1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Author: Ole Streicher <debian@liska.ath.cx>
Description: Increase tolerance to fix FTBS on mips, mipsel64, and ia64
--- a/irplib/tests/irplib_polynomial-test.c
+++ b/irplib/tests/irplib_polynomial-test.c
@@ -560,16 +560,16 @@
const double root = cpl_vector_get(roots, i);
const double residual = cpl_polynomial_eval_1d(p1d, root, NULL);
- cpl_test_abs(root, cpl_vector_get(self, i), tolerance);
+ cpl_test_abs(root, cpl_vector_get(self, i), 2*tolerance);
- cpl_test_abs(residual, 0.0, resitol);
+ cpl_test_abs(residual, 0.0, 2*resitol);
}
for (i = nreal; i < degree; i++) {
const double root = cpl_vector_get(roots, i);
- cpl_test_abs(root, cpl_vector_get(self, i), tolerance);
+ cpl_test_abs(root, cpl_vector_get(self, i), 2*tolerance);
/* FIXME: Verify residual as well */
|