From 4e3dc972c31d255e2eef4ccad0da275d165b7037 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 19 Jul 2024 09:24:54 -0300 Subject: [PATCH] checkasm/lls: increase epsilon value for the update_lls test Should fix failures for some seeds on x86_32. Signed-off-by: James Almer Signed-off-by: Paul B Mahol --- tests/checkasm/lls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/lls.c b/tests/checkasm/lls.c index d2dbc53f41..1e0b56974c 100644 --- a/tests/checkasm/lls.c +++ b/tests/checkasm/lls.c @@ -48,7 +48,7 @@ static void test_update(LLSModel *lls, const double *var) for (size_t i = 0; i < lls->indep_count; i++) for (size_t j = i; j < lls->indep_count; j++) if (!double_near_abs_eps(refcovar[i][j], lls->covariance[i][j], - 2 * DBL_EPSILON)) { + 8 * DBL_EPSILON)) { fprintf(stderr, "%zu, %zu: %- .12f - %- .12f = % .12g\n", i, j, refcovar[i][j], lls->covariance[i][j], refcovar[i][j] - lls->covariance[i][j]);