Changeset 1589 for trunk/yat/utility


Ignore:
Timestamp:
Oct 17, 2008, 6:10:43 PM (13 years ago)
Author:
Peter
Message:

fixes #444

Location:
trunk/yat/utility
Files:
2 edited

Legend:

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

    r1583 r1589  
    9797
    9898
    99   MatrixWeighted::const_iterator MatrixWeighted::begin_row(size_t i) const
     99  MatrixWeighted::const_row_iterator MatrixWeighted::begin_row(size_t i) const
    100100  {
    101101    return const_row_iterator(vec_.begin()+columns_*i);
  • trunk/yat/utility/MatrixWeighted.h

    r1583 r1589  
    8484       Mutable iterator that iterates over one row
    8585     */
    86     typedef std::vector<DataWeight>::iterator row_iterator;
     86    typedef column_iterator row_iterator;
    8787
    8888    /**
    8989       Read-only iterator that iterates over one row
    9090     */
    91     typedef std::vector<DataWeight>::const_iterator const_row_iterator;
     91    typedef const_column_iterator const_row_iterator;
    9292
    9393    /**
Note: See TracChangeset for help on using the changeset viewer.