IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2007, 5:52:32 PM (19 years ago)
Author:
jhoblitt
Message:

update psAbort() API

File:
1 edited

Legend:

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

    r11174 r11702  
    4040    model->radiusFit = (RADIUS_TYPE)(radiusFit + PSF_FIT_PADDING);
    4141
    42     if (isnan(model->radiusFit)) psAbort ("apply_psf_model", "error in radius");
     42    if (isnan(model->radiusFit)) psAbort("error in radius");
    4343       
    4444    if (source->mode & PM_SOURCE_MODE_SATSTAR) {
     
    5757    // set the fit radius based on the object flux limit and the model
    5858    model->radiusFit = (RADIUS_TYPE) (modelRadiusPSF (model->params, PSF_FIT_NSIGMA*moments->dSky) + dR + PSF_FIT_PADDING);
    59     if (isnan(model->radiusFit)) psAbort ("apply_psf_model", "error in radius");
     59    if (isnan(model->radiusFit)) psAbort("error in radius");
    6060       
    6161    if (source->mode &  PM_SOURCE_MODE_SATSTAR) {
     
    9191    // set the fit radius based on the object flux limit and the model
    9292    model->radiusFit = (RADIUS_TYPE) (modelRadiusEXT (model->params, EXT_FIT_NSIGMA*moments->dSky) + EXT_FIT_PADDING);
    93     if (isnan(model->radiusFit)) psAbort (__func__, "error in radius");
     93    if (isnan(model->radiusFit)) psAbort("error in radius");
    9494
    9595    // redefine the pixels if needed
Note: See TracChangeset for help on using the changeset viewer.