summaryrefslogtreecommitdiff
path: root/dtrain/ksampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'dtrain/ksampler.h')
-rw-r--r--dtrain/ksampler.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/dtrain/ksampler.h b/dtrain/ksampler.h
index bbe2b402..08bf1498 100644
--- a/dtrain/ksampler.h
+++ b/dtrain/ksampler.h
@@ -9,10 +9,6 @@ namespace dtrain
{
-/*
- * KSampler
- *
- */
struct KSampler : public HypSampler
{
const size_t k_;
@@ -34,7 +30,7 @@ struct KSampler : public HypSampler
s_.clear();
std::vector<HypergraphSampler::Hypothesis> samples;
HypergraphSampler::sample_hypotheses(forest, k_, prng_, &samples);
- for ( size_t i = 0; i < k_; ++i ) {
+ for (size_t i = 0; i < k_; ++i) {
ScoredHyp h;
h.w = samples[i].words;
h.f = samples[i].fmap;