summaryrefslogtreecommitdiff
path: root/decoder/decoder.cc
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-09-13 07:53:16 -0700
committerKenneth Heafield <github@kheafield.com>2012-09-13 07:53:16 -0700
commit9dd62d50667a6b34198ef6919042f010fd2e5c8e (patch)
tree7fb8e5d0db87f7be7f6820f80094cb78bf1d4f95 /decoder/decoder.cc
parentac3011136c455db79fcc06707908ce729195d510 (diff)
Steal cubepruning_pop_limit command line argument
Diffstat (limited to 'decoder/decoder.cc')
-rw-r--r--decoder/decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/decoder.cc b/decoder/decoder.cc
index 525c6ba6..83077a68 100644
--- a/decoder/decoder.cc
+++ b/decoder/decoder.cc
@@ -835,7 +835,7 @@ bool DecoderImpl::Decode(const string& input, DecoderObserver* o) {
HypergraphIO::WriteTarget(conf["show_target_graph"].as<string>(), sent_id, forest);
if (conf.count("lazy_search"))
- PassToLazy(conf["lazy_search"].as<string>().c_str(), CurrentWeightVector(), forest);
+ PassToLazy(conf["lazy_search"].as<string>().c_str(), CurrentWeightVector(), pop_limit, forest);
for (int pass = 0; pass < rescoring_passes.size(); ++pass) {
const RescoringPass& rp = rescoring_passes[pass];