[FFmpeg-cvslog] checkasm/lls: increase epsilon value for the update_lls test
James Almer
git at videolan.org
Fri Jul 19 15:25:45 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Jul 19 09:24:54 2024 -0300| [97fd5d3363819c122938e3e6b5beb11725dc8ea2] | committer: James Almer
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 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97fd5d3363819c122938e3e6b5beb11725dc8ea2
---
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]);
More information about the ffmpeg-cvslog
mailing list