IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25680


Ignore:
Timestamp:
Sep 29, 2009, 9:59:09 PM (17 years ago)
Author:
eugene
Message:

check for unexpected cases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src/psphotChoosePSF.c

    r25652 r25680  
    328328            // create modelPSF from this model
    329329            pmModel *modelPSF = pmModelFromPSFforXY (psf, xc, yc, 1.0);
    330             if (!modelPSF) continue;
     330            if (!modelPSF) {
     331                fprintf (stderr, "?");
     332                continue;
     333            }
    331334
    332335            // get the model full-width at half-max
     
    341344
    342345            float FWHM_MINOR = FWHM_MAJOR * (axes.minor / axes.major);
    343             if (!isfinite(FWHM_MAJOR) || !isfinite(FWHM_MINOR)) continue;
     346            if (!isfinite(FWHM_MAJOR) || !isfinite(FWHM_MINOR)) {
     347                fprintf (stderr, "!");
     348                continue;
     349            }
    344350            psVectorAppend (fwhmMajor, FWHM_MAJOR);
    345351            psVectorAppend (fwhmMinor, FWHM_MINOR);
Note: See TracChangeset for help on using the changeset viewer.