IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9780


Ignore:
Timestamp:
Oct 29, 2006, 5:13:04 PM (20 years ago)
Author:
eugene
Message:

catch errors from psphotChoosePSF

File:
1 edited

Legend:

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

    r9771 r9780  
    6868    // use bright stellar objects to measure PSF
    6969    pmPSF *psf = psphotChoosePSF (readout, sources, recipe);
     70    if (psf == NULL) {
     71        psError(PSPHOT_ERR_UNKNOWN, false, "failure to construct a psf model");
     72        return false;
     73    }
     74
    7075    if (!strcasecmp (breakPt, "PSFMODEL")) {
    7176        if (!psphotReadoutCleanup (config, readout, recipe, psf, sources)) return false;
Note: See TracChangeset for help on using the changeset viewer.