Changeset 17221 for trunk/ppStats/src/ppStatsReadout.c
- Timestamp:
- Mar 28, 2008, 4:38:23 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStatsReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsReadout.c
r15374 r17221 71 71 int x = j % image->numCols; 72 72 sampleValues->data.F32[i] = image->data.F32[y][x]; 73 if ( mask && (!mask->data.PS_TYPE_MASK_DATA[y][x] & data->maskVal) &&73 if ((!mask || !(mask->data.PS_TYPE_MASK_DATA[y][x] & data->maskVal)) && 74 74 !isfinite(sampleValues->data.F32[i])) { 75 75 if (!warnNonFinite) { 76 psWarning("Unmasked non-finite value detected at %d,%d", x, y); 76 psWarning("Unmasked non-finite value detected at %d,%d; " 77 "further warnings will be suppressed", x, y); 77 78 warnNonFinite = true; 78 79 }
Note:
See TracChangeset
for help on using the changeset viewer.
