IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23629


Ignore:
Timestamp:
Mar 31, 2009, 11:28:29 AM (17 years ago)
Author:
Paul Price
Message:

Removing assertion, since default values suffice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpLoop.c

    r23314 r23629  
    287287    // Set variance factor
    288288    {
    289         float varFactor = psMetadataLookupF32(NULL, output->analysis, PSWARP_ANALYSIS_VARFACTOR);
    290         psAssert(isfinite(varFactor), "Should be something here.");
    291         long goodPix = psMetadataLookupS64(NULL, output->analysis, PSWARP_ANALYSIS_GOODPIX);
    292         psAssert(goodPix > 0, "Should be something here.");
     289        bool mdok;                      // Status of MD lookup
     290        float varFactor = psMetadataLookupF32(&mdok, output->analysis, PSWARP_ANALYSIS_VARFACTOR);
     291        long goodPix = psMetadataLookupS64(&mdok, output->analysis, PSWARP_ANALYSIS_GOODPIX);
    293292        varFactor /= goodPix;
    294293
Note: See TracChangeset for help on using the changeset viewer.