Changeset 2443


Ignore:
Timestamp:
Mar 18, 2011, 6:40:36 PM (11 years ago)
Author:
Peter
Message:

simplify code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/AveragerWeighted.cc

    r2119 r2443  
    3333
    3434  AveragerWeighted::AveragerWeighted(const AveragerWeighted& a)
    35     : w_(Averager(a.sum_w(),a.sum_ww(),1)),
    36       wx_(Averager(a.sum_wx(),a.sum_wwxx(),1)),
     35    : w_(a.w_),
     36      wx_(a.wx_),
    3737      wwx_(a.sum_wwx()),
    3838      wxx_(a.sum_wxx())
Note: See TracChangeset for help on using the changeset viewer.