Changeset 934 for trunk/yat/statistics/utility.h
- Timestamp:
- Oct 5, 2007, 11:27:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/statistics/utility.h
r933 r934 167 167 if (p>=100) 168 168 return *(--last); 169 // range is one value only is a special case 170 if (std::distance(first, last)==1) 171 return *first; 169 172 double j = p/100 * (std::distance(first,last)-1); 170 173 int i = static_cast<int>(j);
Note: See TracChangeset
for help on using the changeset viewer.