Ignore:
Timestamp:
Feb 23, 2008, 11:52:43 PM (14 years ago)
Author:
Peter
Message:

using Index class instead of std::vector<size_t>

File:
1 edited

Legend:

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

    r1000 r1134  
    6565    : kf_(other.kf_)
    6666  {
    67     data_ = other.data_->selected(index);
     67    data_ = other.data_->selected(utility::Index(index));
    6868    ref_count_ = new u_int(1);
    6969   
    7070    if (other.data_w_){
    71       data_w_ = other.data_w_->selected(index);
     71      data_w_ = other.data_w_->selected(utility::Index(index));
    7272      ref_count_w_ = new u_int(1);
    7373    }
Note: See TracChangeset for help on using the changeset viewer.