mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
Added missing function call to for sort order check
This commit is contained in:
parent
2e6b5e7a23
commit
10c1785226
@ -998,7 +998,7 @@ void PhraseTableCreator::FlushEncodedQueue(bool force)
|
|||||||
if(force)
|
if(force)
|
||||||
{
|
{
|
||||||
if(!m_lastSourceRange.size() || m_lastSourceRange.back() != m_lastFlushedSourcePhrase)
|
if(!m_lastSourceRange.size() || m_lastSourceRange.back() != m_lastFlushedSourcePhrase)
|
||||||
m_lastSourceRange.push_back(m_lastFlushedSourcePhrase);
|
m_lastSourceRange.push_back(MakeSourceKey(m_lastFlushedSourcePhrase));
|
||||||
|
|
||||||
if(m_lastCollection.size())
|
if(m_lastCollection.size())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user