Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 04:40:01 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 04:40:01 +0400
commitce9a628ed0337d051ce7058dcace2fa53df6d884 (patch)
treebcc9d8045725bd8553725b9acfd04b13e7a50a80 /mert/Point.h
parent664ffe0130e76a32571965a5f9fce1f6ff176ae1 (diff)
Remove unnecessary semicolons used in end of member functions.
Diffstat (limited to 'mert/Point.h')
-rw-r--r--mert/Point.h11
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