Ignore:
Timestamp:
Feb 6, 2008, 8:30:03 PM (13 years ago)
Author:
Peter
Message:

fixing #128 - iterators in Averger classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/LinearWeighted.cc

    r1020 r1043  
    7575    // want.
    7676    ap_.reset();
    77     ap_.add_values(x,y,utility::vector(x.size(),1),w);
     77    yat::utility::vector dummy(x.size(), 1.0);
     78    add(ap_, x.begin(), x.end(), y.begin(),dummy.begin(),w.begin());
    7879
    7980    alpha_ = m_y();
Note: See TracChangeset for help on using the changeset viewer.