IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33961


Ignore:
Timestamp:
May 30, 2012, 11:59:50 AM (14 years ago)
Author:
eugene
Message:

fix logic on masking flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120405/psphot/src/psphotKronIterate.c

    r33953 r33961  
    266266            // check status of this source's moments
    267267            if (!source->moments) continue;
    268             if (!source->tmpFlags & PM_SOURCE_TMPF_MOMENTS_MEASURED) continue;
     268            if (!(source->tmpFlags && PM_SOURCE_TMPF_MOMENTS_MEASURED)) continue;
    269269            if (source->mode & PM_SOURCE_MODE_MOMENTS_FAILURE) continue;
    270270
     
    518518    if (source->type == PM_SOURCE_TYPE_DEFECT) return false;
    519519    if (source->type == PM_SOURCE_TYPE_SATURATED) return false;
    520     if (!source->tmpFlags & PM_SOURCE_TMPF_MOMENTS_MEASURED) return false;
     520    if (!(source->tmpFlags & PM_SOURCE_TMPF_MOMENTS_MEASURED)) return false;
    521521    if (source->mode & PM_SOURCE_MODE_MOMENTS_FAILURE) return false;
    522522    psAssert(kronWindow, "need a window");
Note: See TracChangeset for help on using the changeset viewer.