Changeset 2444 for branches/0.7-stable/yat/statistics/Percentiler.h
- Timestamp:
- Mar 19, 2011, 12:30:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.7-stable/yat/statistics/Percentiler.h
r2263 r2444 34 34 #include <algorithm> 35 35 #include <cmath> 36 #include <limits> 36 37 #include <numeric> 37 38 #include <stdexcept> … … 99 100 BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<RandomAccessIterator>)); 100 101 BOOST_CONCEPT_ASSERT((utility::DataIteratorConcept<RandomAccessIterator>)); 102 if (first==last) 103 return std::numeric_limits<double>::quiet_NaN(); 101 104 return calculate(first, last, sorted_, 102 105 typename utility::weighted_iterator_traits<RandomAccessIterator>::type());
Note: See TracChangeset
for help on using the changeset viewer.