summaryrefslogtreecommitdiff
path: root/mteval/ns_ext.cc
diff options
context:
space:
mode:
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) :