checkasm/lls: increase epsilon value for the update_lls test

Should fix failures for some seeds on x86_32.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
James Almer 2024-07-19 09:24:54 -03:00 committed by Paul B Mahol
parent 8c0966a012
commit 4e3dc972c3

View File

@ -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]);