diff options
author | James Almer <jamrial@gmail.com> | 2024-07-19 09:24:54 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-07-19 09:24:59 -0300 |
commit | 97fd5d3363819c122938e3e6b5beb11725dc8ea2 (patch) | |
tree | 0e21fb10ec397ce7bfb25ab314b8150386536c1f /tests | |
parent | 7dabad079b783e921747de96597ea47cab244a11 (diff) | |
download | ffmpeg-97fd5d3363819c122938e3e6b5beb11725dc8ea2.tar.gz |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/lls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |