summaryrefslogtreecommitdiff
path: root/mteval/ns_ext.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-11-26 11:11:17 +0100
committerPatrick Simianer <p@simianer.de>2013-11-26 11:11:17 +0100
commite346cd5cd3c5d7164819c35e485a9850d825996e (patch)
tree6c09b737569ac8471fa2a6dfda71230c554be0c8 /mteval/ns_ext.cc
parent95a69136109665881be66ff4e8f9eca6abb08477 (diff)
parent62a2526e69eb1570bf349763fc8bb65179337918 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mteval/ns_ext.cc')
-rw-r--r--mteval/ns_ext.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mteval/ns_ext.cc b/mteval/ns_ext.cc
index 956708af..1e7e2bc1 100644
--- a/mteval/ns_ext.cc
+++ b/mteval/ns_ext.cc
@@ -118,7 +118,7 @@ void ExternalMetric::ComputeSufficientStatistics(const std::vector<WordID>& hyp,
}
float ExternalMetric::ComputeScore(const SufficientStats& stats) const {
- eval_server->ComputeScore(stats.fields);
+ return eval_server->ComputeScore(stats.fields);
}
ExternalMetric::ExternalMetric(const string& metric_name, const std::string& command) :