Ignore:
Timestamp:
Feb 25, 2008, 10:03:48 PM (14 years ago)
Author:
Peter
Message:

DataLookup1D is now a lookup into a MatrixLookup? closes #327

File:
1 edited

Legend:

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

    r1134 r1146  
    104104      return kf_->operator()(vec, DataLookupWeighted1D(*data_w_,i, false));
    105105    else
    106       return kf_->operator()(vec, DataLookup1D(*data_,i, false));
     106      return kf_->operator()(vec,DataLookup1D(dynamic_cast<const MatrixLookup&>
     107                                              (*data_),i, false));
    107108  }
    108109
     
    113114      return kf_->operator()(vec, DataLookupWeighted1D(*data_w_,i, false));
    114115    else
    115       return kf_->operator()(vec, DataLookup1D(*data_,i, false));
     116      return kf_->operator()(vec, DataLookup1D(dynamic_cast<const MatrixLookup&>
     117                                              (*data_),i, false));
    116118  }
    117119
Note: See TracChangeset for help on using the changeset viewer.