Ignore:
Timestamp:
Mar 11, 2008, 11:43:22 AM (14 years ago)
Author:
Peter
Message:

writing size_t directly rather than vector<>::size_type

File:
1 edited

Legend:

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

    r1220 r1221  
    5353  }
    5454
    55   const utility::Index&
    56   Sampler::training_index(std::vector<size_t>::size_type i) const
     55  const utility::Index& Sampler::training_index(size_t i) const
    5756  {
    5857    return training_index_[i];
    5958  }
    6059
    61   const Target&
    62   Sampler::training_target(std::vector<Target>::size_type i) const
     60  const Target& Sampler::training_target(size_t i) const
    6361  {
    6462    return training_target_[i];
    6563  }
    6664
    67   const utility::Index&
    68   Sampler::validation_index(std::vector<size_t>::size_type i) const
     65  const utility::Index& Sampler::validation_index(size_t i) const
    6966  {
    7067    return validation_index_[i];
    7168  }
    7269
    73   const Target&
    74   Sampler::validation_target(std::vector<Target>::size_type i) const
     70  const Target& Sampler::validation_target(size_t i) const
    7571  {
    7672    return validation_target_[i];
Note: See TracChangeset for help on using the changeset viewer.