diff --git a/reading_machine/src/Transition.cpp b/reading_machine/src/Transition.cpp index 6778bd117c6a48e968aa966e82fe20116e5f4072..c9561569e5421f1190a7310a252f738fcb66cc4e 100644 --- a/reading_machine/src/Transition.cpp +++ b/reading_machine/src/Transition.cpp @@ -392,6 +392,7 @@ void Transition::initEOS(int bufferIndex) sequence.emplace_back(Action::setRoot(bufferIndex)); sequence.emplace_back(Action::updateIds(bufferIndex)); sequence.emplace_back(Action::addHypothesisRelative(Config::EOSColName, Config::Object::Buffer, bufferIndex, Config::EOSSymbol1)); + sequence.emplace_back(Action::emptyStack()); cost = [bufferIndex](const Config & config) {