- Timestamp:
- Apr 18, 2011, 8:55:26 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110404/psphot/src/psphotSourceStats.c
r31154 r31313 98 98 99 99 // generate the array of sources, define the associated pixel 100 bool firstPass = false; 100 101 if (!detections->newSources) { 101 102 detections->newSources = psArrayAllocEmpty (peaks->n); 103 firstPass = true; 102 104 } 103 105 sources = detections->newSources; … … 125 127 if (source->mode & PM_SOURCE_MODE_MOMENTS_FAILURE) { 126 128 fprintf (stderr, "moment failure\n"); 129 } 130 131 if (firstPass) { 132 source->mode2 |= PM_SOURCE_MODE2_PASS1_SRC; 127 133 } 128 134
Note:
See TracChangeset
for help on using the changeset viewer.
