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.h

    r1549 r1552  
    8989    typedef utility::StrideIterator<
    9090    utility::Container2DIterator<const MatrixLookupWeighted,
    91                                  const std::pair<double, double>, void,
    92                                  const std::pair<double, double>,
     91                                 value_type, void, 
     92                                 const_reference,
    9393             utility::IteratorPolicyWeighted<const MatrixLookupWeighted,
    9494                                             const double,
     
    343343    /// @return data-weight pair (@a row, @a column)
    344344    ///
    345     std::pair<double, double>
    346     operator()(const size_t row, const size_t column) const;
     345    const_reference operator()(const size_t row, const size_t column) const;
    347346
    348347    ///
Note: See TracChangeset for help on using the changeset viewer.