IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10378


Ignore:
Timestamp:
Dec 1, 2006, 9:27:38 AM (20 years ago)
Author:
rhl
Message:

Check pmPSFFromPSFtry's error code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSFtry.c

    r10198 r10378  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-11-26 22:24:45 $
     7 *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-12-01 19:27:38 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    140140
    141141    // stage 2: construct a psf (pmPSF) from this collection of model fits
    142     pmPSFFromPSFtry (psfTry, applyWeights);
     142    if (!pmPSFFromPSFtry (psfTry, applyWeights)) {
     143        psError(PS_ERR_UNKNOWN, false, "failed to construct a psf model from collection of sources");
     144        return NULL;
     145    }
    143146
    144147    // stage 3: refit with fixed shape parameters
Note: See TracChangeset for help on using the changeset viewer.