IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30770


Ignore:
Timestamp:
Mar 1, 2011, 11:50:32 AM (15 years ago)
Author:
eugene
Message:

only redefine pixels if we have a valid modelPSF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psphot/src/psphotMergeSources.c

    r30624 r30770  
    723723
    724724            // allocate image, weight, mask for the new image for each peak
    725             pmSourceRedefinePixels (sourceOut, readout, sourceOut->peak->x, sourceOut->peak->y, sourceOut->modelPSF->fitRadius);
     725            if (sourceOut->modelPSF) {
     726              pmSourceRedefinePixels (sourceOut, readout, sourceOut->peak->x, sourceOut->peak->y, sourceOut->modelPSF->fitRadius);
     727            }
    726728
    727729            // child sources have not been subtracted in this image, but this flag may be raised if
Note: See TracChangeset for help on using the changeset viewer.