Ignore:
Timestamp:
Feb 6, 2008, 7:32:30 PM (14 years ago)
Author:
Peter
Message:

fixes #268 - remove return value in SupervisedClassifier::train()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/KNN.h

    r1031 r1042  
    9595    /// @return true if training succedeed.
    9696    ///
    97     bool train();
     97    void train();
    9898
    9999   
     
    241241 
    242242  template <typename Distance>
    243   bool KNN<Distance>::train()
     243  void KNN<Distance>::train()
    244244  {   
    245245    trained_=true;
    246     return trained_;
    247246  }
    248247
Note: See TracChangeset for help on using the changeset viewer.