Skip to content
Snippets Groups Projects
Commit 592eb27d authored by Aaron Viets's avatar Aaron Viets
Browse files

lal_insertgap: typecast to double before calling isnan() and isinf().

parent 87dcfca0
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -154,9 +154,9 @@ static gboolean check_data_ ## DTYPE(DTYPE *data, double *bad_data_intervals, in
result &= data[i] > bad_data_intervals[j] && data[i] < bad_data_intervals[j + 1]; \
} \
if(remove_nan) \
result &= !isnan(data[i]); \
result &= !isnan((double) data[i]); \
if(remove_inf) \
result &= !isinf(data[i]); \
result &= !isinf((double) data[i]); \
} \
return result; \
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment