Ignore:
Timestamp:
Feb 29, 2008, 8:48:45 PM (14 years ago)
Author:
Peter
Message:

changing operator() in weighted lookups and removing operator[] in 1D lookups

File:
1 edited

Legend:

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

    r1088 r1193  
    115115
    116116
    117   double DataLookupWeighted1D::operator()(const size_t i) const
     117  std::pair<double,double> DataLookupWeighted1D::operator()(const size_t i) const
    118118  {
    119119    return column_vector_ ? (*matrix_)(i,index_) : (*matrix_)(index_,i);
     
    121121
    122122
    123   double DataLookupWeighted1D::operator[](const size_t i) const
    124   {
    125     return this->operator()(i);
    126   }
    127 
    128123}}} // of namespace classifier, yat, and theplu
Note: See TracChangeset for help on using the changeset viewer.