From 12ece6ddfa91ec61cdeee698db2c7edac941e096 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 22 Mar 2011 16:48:28 -0400 Subject: reweight after weight pushing to avoid weird output --- decoder/decoder.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'decoder') 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 } } -- cgit v1.2.3