diff --git a/nc_test4/tst_quantize.c b/nc_test4/tst_quantize.c index c2694e7a9..597b4afa7 100644 --- a/nc_test4/tst_quantize.c +++ b/nc_test4/tst_quantize.c @@ -1368,7 +1368,7 @@ main(int argc, char **argv) for (i = 0; i < DIM_LEN_SIMPLE; i++) { - if (fabs(float_data_in[i] - float_data[i]) > EPSILON) + if (fabsf(float_data_in[i] - float_data[i]) > EPSILON) ERR; if (fabs(double_data_in[i] - double_data[i]) > EPSILON) ERR;