Changeset 2826


Ignore:
Timestamp:
Sep 12, 2012, 6:12:31 AM (9 years ago)
Author:
Peter
Message:

avoid warning from GCC 4.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9-stable/yat/statistics/ROC.cc

    r2722 r2826  
    151151  size_t ROC::nof_points(const Averager& a) const
    152152  {
    153     return a.sum_x()*a.sum_x()/a.sum_xx();
     153    return static_cast<size_t>(a.sum_x()*a.sum_x()/a.sum_xx());
    154154  }
    155155
Note: See TracChangeset for help on using the changeset viewer.