summaryrefslogtreecommitdiff
path: root/mteval/ns_ext.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-11-25 23:24:42 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-11-25 23:24:42 +0000
commit0febed366e6c3fedd288bc1bddfcd65f247cab81 (patch)
tree5dbe0c5763994aa9d12c5092a9c1b39d87e16540 /mteval/ns_ext.cc
parentbd6fef61505b19989cc327620632e8e7efda2e6e (diff)
parentb6c44f82ffca74cc38cf6039ac9ab3c2c66fd5d6 (diff)
Merge branch 'master' of https://github.com/redpony/cdec
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) :