IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29533


Ignore:
Timestamp:
Oct 24, 2010, 11:26:10 AM (16 years ago)
Author:
eugene
Message:

oops: remove the temporary CR flag, not source.mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/psphot/src/psphotSourceSize.c

    r29491 r29533  
    556556        // NOTE: we only flag the CRs here; when we mask them we verify their CR nature (otherwise -> PSF)
    557557        // bool isCR = (kMag < options->magLimitCR) && (Mminor < options->sizeLimitCR);
     558        // XXX skip if we have already marked it??
    558559        bool isCR = (source->moments->SN > 7.0) && (Mminor < options->sizeLimitCR);
    559560        if (isCR) {
     
    606607        }
    607608
    608         // once we are here, remove the temporary flag
    609         source->mode &= ~PM_SOURCE_TMPF_SIZE_CR_CANDIDATE;
     609        // once we are here, remove the temporary flag (this allows us to try again if we do not mark it now)
     610        source->tmpFlags &= ~PM_SOURCE_TMPF_SIZE_CR_CANDIDATE;
    610611
    611612        // Integer position of peak
Note: See TracChangeset for help on using the changeset viewer.