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 11:50:18 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 11:50:18 +0400
commitae9701ff7758bc7a8a1238278f823b234c16a697 (patch)
treeff474e5f76203a660da1a787ebd3d6871b86544d /mert/Point.h
parentdf0874df89429dc940df75b125a02362e3b1b539 (diff)
Fix initialization of score_, and add destructor.
Diffstat (limited to 'mert/Point.h')
-rw-r--r--mert/Point.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mert/Point.h b/mert/Point.h
index a836a94b1..0aa649b1a 100644
--- a/mert/Point.h
+++ b/mert/Point.h
@@ -62,10 +62,12 @@ public:
return fixedweights.empty();
}
- Point() : vector<parameter_t>(dim) {}
+ Point();
Point(const vector<parameter_t>& init,
const vector<parameter_t>& min,
const vector<parameter_t>& max);
+ ~Point();
+
void Randomize();
// Compute the feature function