IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2006, 9:20:43 PM (19 years ago)
Author:
eugene
Message:

clear errors on psVectorStats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeScaleZero.c

    r9907 r10744  
    236236                        }
    237237                    }
    238                     psVectorStats(bgStats, sample, sampleMask, NULL, options->combine->maskVal);
     238                    status = psVectorStats(bgStats, sample, sampleMask, NULL, options->combine->maskVal);
     239                    if (!status) {
     240                      psTrace("ppMerge", 3, "failed to get stats for for %s, cell %d is %f\n", name, cellNum,
     241                              background->data.F32[i][cellNum]);
     242                      psErrorClear();
     243                    }
    239244                    psFree(sample);
    240245                    psFree(sampleMask);
Note: See TracChangeset for help on using the changeset viewer.