Ignore:
Timestamp:
Jul 17, 2008, 4:32:16 PM (13 years ago)
Author:
Peter
Message:

fixing problems with MatrixWeighted? iterators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/MatrixWeighted.cc

    r1381 r1382  
    6262    columns_ = data.columns();
    6363    resize(data.columns(), data.rows());
    64     // FIXME
    65     //std::copy(data.begin(), data.end(), make_data_iterator(vec_.begin()));
    66     //std::copy(weight.begin(), weight.end(), make_weight_iterator(vec_.begin()));
     64    std::copy(data.begin(), data.end(), make_data_iterator(vec_.begin()));
     65    std::copy(weight.begin(), weight.end(), make_weight_iterator(vec_.begin()));
    6766  }
    6867
Note: See TracChangeset for help on using the changeset viewer.