Commit ca0d17ee authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cgribexDecode: changed abs() to fabs()

parent 88b84d3a
......@@ -1403,7 +1403,7 @@ int cgribexDecode(unsigned char *gribbuffer, int gribsize, double *data, int gri
*nmiss = 0;
for ( i = 0; i < gridsize; i++ )
if ( (abs(data[i]-undef_pds) < undef_eps) || IS_EQUAL(data[i],FSEC3_MissVal) ) {
if ( (fabs(data[i]-undef_pds) < undef_eps) || IS_EQUAL(data[i],FSEC3_MissVal) ) {
data[i] = missval;
(*nmiss)++;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment