Changeset 15407
- Timestamp:
- Oct 29, 2007, 10:36:28 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r15370 r15407 13 13 * use ->min and ->max (PS_STAT_USE_RANGE) 14 14 * 15 * @version $Revision: 1.2 19$ $Name: not supported by cvs2svn $16 * @date $Date: 2007-10-2 4 19:08:24$15 * @version $Revision: 1.220 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2007-10-29 20:36:28 $ 17 17 * 18 18 * Copyright 2006 IfA, University of Hawaii … … 340 340 341 341 // Sort the temporary vector. 342 // XXX this is messed up: should psVectorSort free on error or not?343 342 if (!psVectorSort(outVector, outVector)) { // Sort in-place (since it's a copy, it's OK) 344 343 psError(PS_ERR_UNEXPECTED_NULL, false, _("Failed to sort input data.")); … … 346 345 stats->sampleLQ = NAN; 347 346 stats->sampleMedian = NAN; 347 psFree(outVector); 348 348 return true; 349 349 }
Note:
See TracChangeset
for help on using the changeset viewer.
