IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2011, 12:44:35 PM (15 years ago)
Author:
eugene
Message:

skip sources without models

File:
1 edited

Legend:

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

    r30770 r30771  
    613613
    614614      // allocate image, weight, mask for the new image for each peak
    615       pmSourceRedefinePixels (sourceOut, readoutOut, sourceOut->peak->x, sourceOut->peak->y, sourceOut->modelPSF->fitRadius);
     615      if (sourceOut->modelPSF) {
     616        pmSourceRedefinePixels (sourceOut, readoutOut, sourceOut->peak->x, sourceOut->peak->y, sourceOut->modelPSF->fitRadius);
     617      }
    616618
    617619      // 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.