mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Manually fixed performance-type-promotion-in-math-fn warnings
This commit is contained in:
parent
e1f22bc4ed
commit
edcfc61fe6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user