IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31716 for trunk/magic/remove


Ignore:
Timestamp:
Jun 25, 2011, 8:05:15 PM (15 years ago)
Author:
bills
Message:

drop source if X_PSF or Y_PSF is NAN (to avoid SEGV)
-This line, and those below, will be ignored--

M src/streaksremove.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksremove.c

    r30405 r31716  
    976976
    977977            psImageMaskType mask;
    978             if ((x >= maskImage->numCols) || (y >= maskImage->numRows) || (x <  0) || (y < 0)) {
     978            if ((x >= maskImage->numCols) || (y >= maskImage->numRows) || (x <  0) || (y < 0) || isnan(x) || isnan(y)) {
    979979                mask = maskStreak;
    980980            } else {
Note: See TracChangeset for help on using the changeset viewer.