From 723cbf8d543ba8be2880b497518c87fc1cbf3573 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 24 Jun 2015 18:51:21 +0200 Subject: dtrain_net_interace: cleanup --- training/dtrain/score_net_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'training/dtrain/score_net_interface.h') diff --git a/training/dtrain/score_net_interface.h b/training/dtrain/score_net_interface.h index 6e359249..58357cf6 100644 --- a/training/dtrain/score_net_interface.h +++ b/training/dtrain/score_net_interface.h @@ -153,7 +153,7 @@ struct PerSentenceBleuScorer size_t best = numeric_limits::max(); for (auto l: ref_ls) { size_t d = abs(hl-l); - if (d < best) { + if (d < best) { best_idx = i; best = d; } -- cgit v1.2.3