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/yat/classifier/MatrixLookupWeighted.cc

    r1487 r1552  
    315315
    316316
    317   std::pair<double, double>
     317  MatrixLookupWeighted::const_reference
    318318  MatrixLookupWeighted::operator()(const size_t row, const size_t column) const
    319319  {
    320     return std::make_pair(data(row, column), weight(row,column));
     320    return utility::DataWeight(data(row, column), weight(row,column));
    321321  }
    322322
Note: See TracChangeset for help on using the changeset viewer.