mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
Bug fix after merging branches.
This commit is contained in:
parent
8a1c8af7a7
commit
77b439d5bd
@ -58,10 +58,14 @@ namespace Moses
|
||||
m_coll.erase( m_coll.begin()+ind );
|
||||
}
|
||||
void Add(TranslationOption *transOpt) {
|
||||
UTIL_THROW_IF2(!transOpt, "Not a valid translation option!");
|
||||
m_coll.push_back(transOpt);
|
||||
}
|
||||
|
||||
TO_STRING();
|
||||
|
||||
size_t SelectNBest(size_t const N);
|
||||
size_t PruneByThreshold(float const th);
|
||||
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user