IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33606


Ignore:
Timestamp:
Mar 24, 2012, 5:22:20 PM (14 years ago)
Author:
eugene
Message:

marked unused for detections skipped due to nan errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/UpdateObjects.c

    r33580 r33606  
    136136        // allow a given photcode or measurement to be
    137137        // ignored if the error is NAN (for photcode, set astromErrSys to NaN)
    138         if (isnan(dX[N])) continue;
    139         if (isnan(dY[N])) continue;
     138        if (isnan(dX[N])) {
     139          measure[k].dbFlags &= ~ID_MEAS_USED_OBJ;
     140          continue;
     141        }
     142        if (isnan(dY[N])) {
     143          measure[k].dbFlags &= ~ID_MEAS_USED_OBJ;
     144          continue;
     145        }
    140146
    141147        // add systematic error in quadrature, if desired
Note: See TracChangeset for help on using the changeset viewer.