Ignore:
Timestamp:
Sep 24, 2008, 2:36:10 PM (14 years ago)
Author:
Peter
Message:

refs #444 - simplifying code in DataLookupD by calling underlying MatrixLookup? rather than creating iterator yourself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/DataLookup1D.h

    r1487 r1525  
    2727
    2828#include "MatrixLookup.h"
    29 #include "yat/utility/Container2DIterator.h"
    30 #include "yat/utility/iterator_traits.h"
    31 #include "yat/utility/StrideIterator.h"
    3229
    3330#include <iostream>
     
    4845  public:
    4946    /// 'Read Only' iterator
    50     typedef utility::StrideIterator<
    51     utility::Container2DIterator<const MatrixLookup, const double, void,
    52                                  const double> >
    53     const_iterator;
     47    typedef MatrixLookup::const_row_iterator const_iterator;
    5448
    5549    ///
     
    125119
    126120  private:
     121    // assignment no allowed
    127122    const DataLookup1D& operator=(const DataLookup1D&);
    128123
Note: See TracChangeset for help on using the changeset viewer.