IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27800


Ignore:
Timestamp:
Apr 28, 2010, 3:42:00 PM (16 years ago)
Author:
rhenders
Message:

0.0 flux values still slipping through.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/src/ippToPspsBatchDetection.c

    r27778 r27800  
    2323
    2424    //    printf("mag=%f\texpTime=%f\tzeroPoint=%f\tflux=%f\n", magnitude, exposureTime, zeroPoint, flux);
    25     return (isnormal(*flux)) ? true : false;
     25    return (isfinite(*flux) && *flux > 0.0) ? true : false;
    2626}
    2727
Note: See TracChangeset for help on using the changeset viewer.