summaryrefslogtreecommitdiff
path: root/training/dtrain/score_net_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'training/dtrain/score_net_interface.h')
-rw-r--r--training/dtrain/score_net_interface.h2
1 files changed, 1 insertions, 1 deletions
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<size_t>::max();
for (auto l: ref_ls) {
size_t d = abs(hl-l);
- if (d < best) {
+ if (d < best) {
best_idx = i;
best = d;
}