Ignore:
Timestamp:
Feb 26, 2008, 2:49:38 PM (14 years ago)
Author:
Markus Ringnér
Message:

Fixed #322

File:
1 edited

Legend:

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

    r1157 r1158  
    6969    NCC(void);
    7070   
     71    ///
     72    /// @brief Constructor
     73    ///
     74    NCC(const Distance&);
     75
    7176
    7277    ///
     
    123128  NCC<Distance>::NCC()
    124129    : SupervisedClassifier(), centroids_(0), centroids_nan_(false)
     130  {
     131  }
     132
     133  template <typename Distance>
     134  NCC<Distance>::NCC(const Distance& dist)
     135    : SupervisedClassifier(), centroids_(0), centroids_nan_(false), distance_(dist)
    125136  {
    126137  }
Note: See TracChangeset for help on using the changeset viewer.