mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-25 12:52:29 +03:00
iterator compile error on some compilers /Jame Zhang
This commit is contained in:
parent
318323049d
commit
29991e1ede
@ -86,7 +86,7 @@ void SearchCubePruning::ProcessSentence()
|
||||
// go through each stack
|
||||
size_t stackNo = 1;
|
||||
std::vector < HypothesisStack* >::iterator iterStack;
|
||||
for (iterStack = ++m_hypoStackColl.begin() ; iterStack != m_hypoStackColl.end() ; ++iterStack) {
|
||||
for (iterStack = m_hypoStackColl.begin() + 1 ; iterStack != m_hypoStackColl.end() ; ++iterStack) {
|
||||
// check if decoding ran out of time
|
||||
double _elapsed_time = GetUserTime();
|
||||
if (_elapsed_time > staticData.GetTimeoutThreshold()) {
|
||||
|
Loading…
Reference in New Issue
Block a user