Ignore:
Timestamp:
Aug 28, 2008, 12:53:11 AM (13 years ago)
Author:
Peter
Message:

adding Centralizer

File:
1 edited

Legend:

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

    r1339 r1445  
    4444       \return average of range
    4545     */
    46     template<typename ForwardIterator>
    47     inline double operator()(ForwardIterator first, ForwardIterator last) const
     46    template<typename InputIterator>
     47    inline double operator()(InputIterator first, InputIterator last) const
    4848    {
    49       typename averager<ForwardIterator>::type a;
     49      typename averager<InputIterator>::type a;
    5050      add(a, first, last);
    5151      return a.mean();
Note: See TracChangeset for help on using the changeset viewer.