diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 04:40:01 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 04:40:01 +0400 |
commit | ce9a628ed0337d051ce7058dcace2fa53df6d884 (patch) | |
tree | bcc9d8045725bd8553725b9acfd04b13e7a50a80 /mert/Point.h | |
parent | 664ffe0130e76a32571965a5f9fce1f6ff176ae1 (diff) |
Remove unnecessary semicolons used in end of member functions.
Diffstat (limited to 'mert/Point.h')
-rw-r--r-- | mert/Point.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mert/Point.h b/mert/Point.h index c92a99714..bf1643b36 100644 --- a/mert/Point.h +++ b/mert/Point.h @@ -60,9 +60,9 @@ public: } static bool OptimizeAll() { return fixedweights.empty(); - }; + } statscore_t score; - Point():vector<parameter_t>(dim) {}; + Point():vector<parameter_t>(dim) {} Point(const vector<parameter_t>& init, const vector<parameter_t>& min, const vector<parameter_t>& max @@ -79,9 +79,8 @@ public: * Write the Whole featureweight to a stream (ie pdim float). */ friend ostream& operator<<(ostream& o,const Point& P); - void Normalize() { - NormalizeL2(); - }; + + void Normalize() { NormalizeL2(); } void NormalizeL2(); void NormalizeL1(); @@ -92,7 +91,7 @@ public: vector<parameter_t> GetAllWeights()const; statscore_t GetScore()const { return score; - }; + } }; #endif // POINT_H |