Changeset 3245


Ignore:
Timestamp:
May 24, 2014, 7:01:31 PM (7 years ago)
Author:
Peter
Message:

avoid sorting entire range; instead let Percentiler be clever

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/utility.h

    r3239 r3245  
    373373      ++first2;
    374374    }
    375     std::sort(ad.begin(), ad.end());
    376     return median(ad.begin(), ad.end(), true);
     375    return median(ad.begin(), ad.end(), false);
    377376  }
    378377
Note: See TracChangeset for help on using the changeset viewer.