Menu

#6 TaggerImpl::next() crashes if initNbest() is not called

open
nobody
None
5
2011-08-19
2011-08-19
No

Currently when calling TaggerImpl::next() it crashes, as agenda_ is not initialized with std::priority_queue. TaggerImpl::next() should check that agenda_ is not initialized:

bool TaggerImpl::next() {
if (!agenda_.get()) { return false; }
...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB