remove todo

This commit is contained in:
Hieu Hoang 2021-07-02 19:07:42 -07:00
parent 9acf27d6bc
commit 5ad0edf6df

View File

@ -308,7 +308,7 @@ Histories BeamSearch::search(Ptr<ExpressionGraph> graph, Ptr<data::CorpusBatch>
suppressed.erase(std::remove_if(suppressed.begin(),
suppressed.end(),
[&](WordIndex i) {
return shortlist->tryForwardMap(i) == data::Shortlist::npos; // TODO beamIdx
return shortlist->tryForwardMap(i) == data::Shortlist::npos;
}),
suppressed.end());