Ignore:
Timestamp:
Dec 19, 2006, 9:59:19 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Addresses #65 and #170.

File:
1 edited

Legend:

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

    r680 r706  
    5050
    5151    // @return index_first
    52     inline size_t index_first(void) const
    53     { assert(index_first_<size()); return index_first_; }
     52    inline size_t index_first(void) const { return index_first_; }
    5453
    5554    // @return index_second
    56     inline size_t index_second(void) const
    57     { assert(index_second_<size()); return index_second_; }
     55    inline size_t index_second(void) const { return index_second_; }
    5856
    5957    // synch the object against alpha
     
    8987
    9088    // @return value_first
    91     inline size_t value_first(void) const
    92     { assert(value_first_<size()); return value_first_; }
     89    inline size_t value_first(void) const { return value_first_; }
    9390
    9491    // @return const ref value_second
    95     inline size_t value_second(void) const
    96     { assert(value_first_<size()); return value_second_; }
     92    inline size_t value_second(void) const { return value_second_; }
    9793
    98     inline size_t operator()(size_t i) const {
    99       assert(i<size()); assert(vec_[i]<size()); return vec_[i]; }
     94    inline size_t operator()(size_t i) const { return vec_[i]; }
    10095
    10196  private:
Note: See TracChangeset for help on using the changeset viewer.