Ignore:
Timestamp:
Mar 19, 2007, 6:45:30 PM (15 years ago)
Author:
Peter
Message:

documentation and some minor fixes Fixes #135

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/MatrixLookup.cc

    r781 r826  
    2525#include "yat/utility/matrix.h"
    2626
    27 #ifndef NDEBUG
    2827#include <algorithm>
    29 #endif
    30 
    3128#include <cassert>
    3229#include <fstream>
     
    3936    : DataLookup2D(own), data_(&data)
    4037  {
     38    row_index_.reserve(data_->rows());
    4139    for(size_t i=0;i<(*data_).rows();i++)
    4240      row_index_.push_back(i);
     41    column_index_.reserve(data_->columns());
    4342    for(size_t i=0;i<(*data_).columns();i++)
    4443      column_index_.push_back(i);
Note: See TracChangeset for help on using the changeset viewer.