IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2005, 4:20:27 PM (21 years ago)
Author:
eugene
Message:

various cleanups, fixes, additions...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotFitGalaxies.c

    r5772 r5828  
    4343
    4444        // sets the model radius (via source->model) and adjusts pixels as needed
    45         psphotCheckRadiusFLT (imdata, source);
     45        psphotCheckRadiusFLT (imdata, source, model);
    4646
    4747        // fit FLT (not PSF) model (set/unset the pixel mask)
     
    5656        if (pmModelFitStatus (model)) {
    5757            pmSourceSubModel (source->pixels, source->mask, model, false, false);
    58             source->mode |= PM_SOURCE_SUBTRACTED;
     58            source->mode |=  PM_SOURCE_SUBTRACTED;
     59            source->mode &= ~PM_SOURCE_TEMPSUB;
    5960            Nsub ++;
    6061        }
Note: See TracChangeset for help on using the changeset viewer.