Changeset 23327
- Timestamp:
- Mar 15, 2009, 10:54:36 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r21183 r23327 199 199 for (long i = 0; i < numData; i++) { 200 200 // Check if the data is with the specified range 201 if (!isfinite(data[i])) 202 continue; 201 203 if (useRange && (data[i] < stats->min)) 202 204 continue; … … 322 324 // into the temporary vectors. 323 325 for (long i = 0; i < inVector->n; i++) { 326 if (!isfinite(input[i])) 327 continue; 324 328 if (useRange && (input[i] < stats->min)) 325 329 continue; … … 420 424 for (long i = 0; i < myVector->n; i++) { 421 425 // Check if the data is with the specified range 426 if (!isfinite(data[i])) 427 continue; 422 428 if (useRange && (data[i] < stats->min)) { 423 429 continue; … … 501 507 for (long i = 0; i < myVector->n; i++) { 502 508 // Check if the data is with the specified range 509 if (!isfinite(data[i])) 510 continue; 503 511 if (useRange && (data[i] < stats->min)) { 504 512 continue;
Note:
See TracChangeset
for help on using the changeset viewer.
