Skip to content
Snippets Groups Projects
Commit ef67fc89 authored by David Hammer's avatar David Hammer
Browse files

LPD: also check isinf

parent 89c1ee03
No related branches found
No related tags found
1 merge request!12Snapshot: field test deployed version as of end of run 202201
......@@ -63,7 +63,7 @@ extern "C" {
if (corr_flags & FF_CORR) {
corrected *= flatfield_map[gm_map_index];
}
if (corrected < -1e7 || corrected > 1e7 || isnan(corrected)) {
if (corrected < -1e7 || corrected > 1e7 || isnan(corrected) || isinf(corrected)) {
corrected = bad_pixel_mask_value;
}
}
......
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