Ignore:
Timestamp:
Apr 12, 2011, 2:10:59 AM (11 years ago)
Author:
Peter
Message:

Fixed so percentiler ignores element with zero weight

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.7-stable/test/statistics.cc

    r2444 r2466  
    271271                     RandomAccessIterator2 last2)
    272272{
    273   for (double p=0; p<100; p+=10) {
     273  for (double p=0; p<=100; p+=10) {
    274274    double correct=statistics::percentile2(first1, last1, p);
    275275    test_percentiler(suite, first2, last2, p, correct);
Note: See TracChangeset for help on using the changeset viewer.