IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 2, 2012, 11:18:35 AM (14 years ago)
Author:
eugene
Message:

attempt to reinsert sources on the second pass (actually on the "not-first-pass"). However, it is not an error for no sources to be present if no sources are added and/or subtracted, the significance image will not be regenerated

File:
1 edited

Legend:

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

    r34418 r34492  
    3434static int Nmasked = 0;
    3535
     36// the return state indicates if any sources were actually replaced
    3637bool psphotAddOrSubNoiseReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe, bool add) {
    3738
     
    5152
    5253    psArray *sources = detections->allSources;
    53     //psAssert (sources, "missing sources?");
    54     // if no work, should just return true
    55     if (!sources) return true;
     54    // if no work to do, should just return true
     55    if (!sources) return false;
    5656
    5757    psTimerStart ("psphot.noise");
     
    7474
    7575    if (SIZE <= 0) {
    76        return true;
     76       return false;
    7777    }
    7878
Note: See TracChangeset for help on using the changeset viewer.