Changeset 34492 for trunk/psphot/src/psphotAddNoise.c
- Timestamp:
- Oct 2, 2012, 11:18:35 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotAddNoise.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotAddNoise.c
r34418 r34492 34 34 static int Nmasked = 0; 35 35 36 // the return state indicates if any sources were actually replaced 36 37 bool psphotAddOrSubNoiseReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe, bool add) { 37 38 … … 51 52 52 53 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; 56 56 57 57 psTimerStart ("psphot.noise"); … … 74 74 75 75 if (SIZE <= 0) { 76 return true;76 return false; 77 77 } 78 78
Note:
See TracChangeset
for help on using the changeset viewer.
