Changeset 23629
- Timestamp:
- Mar 31, 2009, 11:28:29 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpLoop.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpLoop.c
r23314 r23629 287 287 // Set variance factor 288 288 { 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); 293 292 varFactor /= goodPix; 294 293
Note:
See TracChangeset
for help on using the changeset viewer.
