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/Kernel.cc

    r1166 r1168  
    6767   
    6868    if (other.weighted()){
    69       mlw_ = other.mlw_->selected(utility::Index(index));
     69      mlw_ = new MatrixLookupWeighted(*other.mlw_, utility::Index(index),true);
    7070      ref_count_w_ = new u_int(1);
    7171      ml_=NULL;
     
    7373    }
    7474    else{
    75       ml_ = other.ml_->selected(utility::Index(index));
     75      ml_ = new MatrixLookup(*other.ml_, utility::Index(index),true);
    7676      ref_count_ = new u_int(1);
    7777      mlw_=NULL;
Note: See TracChangeset for help on using the changeset viewer.