mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
Bug fix in Word::CreateFromString(...).
This commit is contained in:
parent
b7f2e18efc
commit
27d233796d
@ -134,7 +134,7 @@ CreateFromString(FactorDirection direction
|
||||
{
|
||||
UTIL_THROW_IF(factorOrder[k] >= MAX_NUM_FACTORS, util::Exception,
|
||||
"Factor order out of bounds.");
|
||||
m_factorArray[factorOrder[k]] = factorCollection.AddFactor(bits[k]);
|
||||
m_factorArray[factorOrder[k]] = factorCollection.AddFactor(bits[k], isNonTerminal);
|
||||
}
|
||||
|
||||
// assume term/non-term same for all factors
|
||||
|
Loading…
Reference in New Issue
Block a user