IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20255


Ignore:
Timestamp:
Oct 17, 2008, 3:07:45 PM (18 years ago)
Author:
eugene
Message:

fix nan values in output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotSourceSize.c

    r20146 r20255  
    144144        }
    145145        source->crNsigma  = (nCR > 0)  ? fCR / nCR : 0.0;
    146         assert (isfinite(source->crNsigma));
     146        if (!isfinite(source->crNsigma)) continue;
    147147
    148148        // this source is thought to be a cosmic ray.  flag the detection and mask the pixels
Note: See TracChangeset for help on using the changeset viewer.