diff --git a/tests/tst_aec.c b/tests/tst_aec.c index e8b50767..4c8d621a 100644 --- a/tests/tst_aec.c +++ b/tests/tst_aec.c @@ -149,7 +149,7 @@ main() for (i = 0; i < DATA_LEN; i++) { /* printf("%g %g\n", fld[i], fld_in[i]); */ - if (fld[i] != fld_in[i]) + if (abs(fld[i] - fld_in[i]) >= EPSILON) return G2C_ERROR; } }