IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19308


Ignore:
Timestamp:
Sep 2, 2008, 9:07:09 AM (18 years ago)
Author:
eugene
Message:

save radius in local variable so we can test it

File:
1 edited

Legend:

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

    r18555 r19308  
    9494
    9595    // set the fit radius based on the object flux limit and the model
    96     model->radiusFit = (RADIUS_TYPE) (model->modelRadius (model->params, EXT_FIT_NSIGMA*moments->dSky) + EXT_FIT_PADDING);
     96    float rawRadius = model->modelRadius (model->params, EXT_FIT_NSIGMA*moments->dSky);
     97
     98    model->radiusFit = rawRadius + EXT_FIT_PADDING;
    9799    if (isnan(model->radiusFit)) psAbort("error in radius");
    98100
Note: See TracChangeset for help on using the changeset viewer.