Changeset 24878
- Timestamp:
- Jul 21, 2009, 10:47:39 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotApResid.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotApResid.c
r23989 r24878 168 168 if (source->mode & PM_SOURCE_MODE_POOR) SKIPSTAR ("POOR STAR"); 169 169 170 if (source->mode & PM_SOURCE_MODE_EXT_LIMIT) SKIPSTAR ("EXTENDED"); 171 if (source->mode & PM_SOURCE_MODE_CR_LIMIT) SKIPSTAR ("COSMIC RAY"); 172 170 173 if (!isfinite(source->apMag) || !isfinite(source->psfMag)) { 171 174 continue; … … 317 320 */ 318 321 322 // XXX this still sucks... need a better way to estimate the error floor... 319 323 bool psphotMagErrorScale (float *errorScale, float *errorFloor, psVector *dMag, psVector *dap, psVector *mask, int nGroup) { 320 324 … … 385 389 for (int i = 0; i < dSo->n; i++) { 386 390 *errorFloor = dSo->data.F32[i]; 391 if (fabs(*errorFloor) <= FLT_EPSILON) continue; 387 392 if (isfinite(*errorFloor)) break; 388 393 }
Note:
See TracChangeset
for help on using the changeset viewer.
