summaryrefslogtreecommitdiff
path: root/dtrain/ksampler.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-10-13 23:50:28 +0200
committerPatrick Simianer <p@simianer.de>2011-10-13 23:50:28 +0200
commitb03d01f22df3c5e27014bf32748baacc10c7d360 (patch)
treeb3336a13331099e8372af6c51ad508c7772c3177 /dtrain/ksampler.h
parentb9641702ba7aa86e9cc7ed0d4fffa4dd6271cc8f (diff)
fixed approx bleu
Diffstat (limited to 'dtrain/ksampler.h')
-rw-r--r--dtrain/ksampler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrain/ksampler.h b/dtrain/ksampler.h
index 7567f43a..276f2cc9 100644
--- a/dtrain/ksampler.h
+++ b/dtrain/ksampler.h
@@ -37,7 +37,7 @@ struct KSampler : public HypSampler
h.f = samples[i].fmap;
h.model = log(samples[i].model_score);
h.rank = i;
- h.score = scorer_->Score(h.w, *ref_);
+ h.score = scorer_->Score(h.w, *ref_, i);
s_.push_back(h);
}
}