Changeset 1525 for trunk/yat/classifier/DataLookup1D.cc
- Timestamp:
- Sep 24, 2008, 2:36:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/DataLookup1D.cc
r1487 r1525 94 94 { 95 95 if (column_vector_) 96 return const_iterator(const_iterator::iterator_type(*matrix_, 0, index_), 97 matrix_->columns()); 98 return const_iterator(const_iterator::iterator_type(*matrix_, index_, 0),1); 96 return matrix_->begin_column(index_); 97 return matrix_->begin_row(index_); 99 98 } 100 99 … … 103 102 { 104 103 if (column_vector_) 105 return const_iterator(const_iterator::iterator_type(*matrix_, 106 matrix_->rows(), 107 index_), 108 matrix_->columns()); 109 return const_iterator(const_iterator::iterator_type(*matrix_,index_+1,0), 1); 104 return matrix_->end_column(index_); 105 return matrix_->end_row(index_); 110 106 } 111 107
Note: See TracChangeset
for help on using the changeset viewer.