Changeset 23989 for trunk/ppStats/src
- Timestamp:
- Apr 28, 2009, 11:21:56 AM (17 years ago)
- Location:
- trunk/ppStats/src
- Files:
-
- 2 edited
-
ppStatsFromMetadataStats.c (modified) (1 diff)
-
ppStatsReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsFromMetadataStats.c
r20888 r23989 38 38 39 39 psStats *stats = psStatsAlloc(option); 40 psVectorStats(stats, entry->vector, NULL, NULL, 0); 40 if (!psVectorStats(stats, entry->vector, NULL, NULL, 0)) { 41 psError(PS_ERR_UNKNOWN, false, "failure to measure stats for %s", entry->statistic); 42 continue; 43 } 41 44 42 45 double value; -
trunk/ppStats/src/ppStatsReadout.c
r21183 r23989 92 92 } 93 93 if (!psVectorStats(data->stats, sampleValues, NULL, sampleMask, 1)) { 94 psWarning("Unable to perform statistics on readout %s.\n", readoutName);95 psErrorClear(); 96 } 94 psError(PS_ERR_UNKNOWN, false, "failure to measure stats for readout %s", readoutName); 95 } 96 // XXX raise if we get a NAN? psWarning("Unable to perform statistics on readout %s.\n", readoutName); 97 97 psFree(sampleValues); 98 98 psFree(sampleMask);
Note:
See TracChangeset
for help on using the changeset viewer.
