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
commita5b4f06838585874f200c94028cd4d41d54c4f76 (patch)
treea9248cb9c17e5b44f1e6758580befb8ef8bef08a /mteval/ns_ext.cc
parent4fffd2e746a4d6b643d35ae3fc4b374c770727c0 (diff)
parentb6c44f82ffca74cc38cf6039ac9ab3c2c66fd5d6 (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) :