summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
Diffstat (limited to 'decoder')
-rw-r--r--decoder/decoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/decoder.cc b/decoder/decoder.cc
index 89425198..ac063659 100644
--- a/decoder/decoder.cc
+++ b/decoder/decoder.cc
@@ -821,6 +821,7 @@ bool DecoderImpl::Decode(const string& input, DecoderObserver* o) {
forest.edges_[i].feature_values_.set_value(rp.fid_summary, log_prob_transition);
}
+ forest.Reweight(cur_weights); // reset weights
}
}