Ignore:
Timestamp:
Feb 26, 2008, 9:48:22 PM (13 years ago)
Author:
Peter
Message:

fixes #342

File:
1 edited

Legend:

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

    r1167 r1168  
    137137  {
    138138    return utility::SmartPtr<const MatrixLookup>
    139       (kernel_->data().training_data(column_index_));
     139      (new MatrixLookup(kernel_->data(), column_index_, false));
    140140  }
    141141
     
    145145  {
    146146    return utility::SmartPtr<const MatrixLookupWeighted>
    147       (kernel_->data_weighted().training_data(column_index_));
     147      (new MatrixLookupWeighted(kernel_->data_weighted(),column_index_,false));
    148148  }
    149149
Note: See TracChangeset for help on using the changeset viewer.