IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20252


Ignore:
Timestamp:
Oct 17, 2008, 2:49:47 PM (18 years ago)
Author:
eugene
Message:

skip invalid fluxes

File:
1 edited

Legend:

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

    r20003 r20252  
    3939                // measure the fitMag for this model
    4040                fitSum = model->modelFlux (model->params);
    41                 assert (fitSum > 0);
    42                 assert (isfinite(fitSum));
    4341            }
     42            if (fitSum < 1.e-6) continue;
     43            if (!isfinite(fitSum)) continue;
    4444
    4545            xPts->data.F32[Npts] = x;
Note: See TracChangeset for help on using the changeset viewer.