This commit is contained in:
Ulrich Germann 2014-03-21 11:11:24 +00:00
parent d5c96eff35
commit 4685aeadd2

View File

@ -752,7 +752,7 @@ namespace Moses {
{
static boost::posix_time::time_duration nodelay(0,0,0,0);
bool fwd = phrase.root == bt.I1.get();
sptr<job> j(new job(phrase, fwd ? bt.I2 : bt.I1, max_samples, fwd));
sptr<job> j(new job(phrase, fwd ? bt.I1 : bt.I2, max_samples, fwd));
j->stats->register_worker();
boost::unique_lock<boost::mutex> lk(this->lock);