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

fixes #342

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/matrix_lookup_test.cc

    r1134 r1168  
    146146
    147147  *error << "MatrixLookup::training_data(const std::vector<size_t>)...";
    148   const classifier::MatrixLookup* TrnData =m2.training_data(utility::Index(one));
     148  const classifier::MatrixLookup* TrnData =
     149    new MatrixLookup(m2, utility::Index(one), false);
    149150  if (TrnData->rows() != m2.rows() || TrnData->columns()!=one.size()){
    150151    ok =false;
     
    159160  std::vector<size_t> val(23,2);
    160161  const classifier::MatrixLookup* ValData =
    161     m2.validation_data(utility::Index(one), utility::Index(val));
     162    new MatrixLookup(m2, utility::Index(val), false);
    162163  if (ValData->rows() != m2.rows() || TrnData->columns()!=val.size()){
    163164    ok =false;
Note: See TracChangeset for help on using the changeset viewer.