Commit c3fc877e authored by Uwe Schulzweida's avatar Uwe Schulzweida

set isnan argument to float

parent c952125b
......@@ -192,7 +192,7 @@ void *Math(void *argument)
break;
case RECI:
for ( i = 0; i < gridsize; i++ )
array2[i] = DBL_IS_EQUAL(array1[i], missval1) || DBL_IS_EQUAL(array1[i], 0) ? missval1 : 1/array1[i];
array2[i] = DBL_IS_EQUAL(array1[i], missval1) || DBL_IS_EQUAL(array1[i], 0.) ? missval1 : 1/array1[i];
break;
default:
cdoAbort("operator not implemented!");
......
Markdown is supported
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