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/test/target_test.cc

    r1000 r1134  
    2323
    2424#include "yat/classifier/Target.h"
     25#include "yat/utility/Index.h"
    2526
    2627#include <fstream>
     
    6768  sub.push_back(2);
    6869  sub.push_back(1);
    69   classifier::Target sub_target(target3,sub);
     70  classifier::Target sub_target(target3,utility::Index(sub));
    7071  if (target3(sub[0])!=sub_target(0) || target3(sub[1])!=sub_target(1)){
    7172    ok = false;
Note: See TracChangeset for help on using the changeset viewer.