Ignore:
Timestamp:
Oct 6, 2008, 4:36:56 PM (13 years ago)
Author:
Peter
Message:

using DataWeight? rather than std::pair<double, double>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/iterator_test.cc

    r1538 r1552  
    143143  classifier::MatrixLookupWeighted mw(m,w);
    144144  classifier::DataLookupWeighted1D aw(mw,0,true);
    145   size_t nof1=std::count(aw.begin(),aw.end(),
    146                          std::pair<double, double>(1.0, 1.0));
     145  size_t nof1=std::count(aw.begin(),aw.end(),utility::DataWeight(1.0, 1.0));
    147146  if(nof1!=2) {
    148147    suite.err() << "std algoritm with IteratorWeighted failed" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.