Skip to content
Snippets Groups Projects
Commit f8cb96da authored by Franck Dary's avatar Franck Dary
Browse files

Fixed head is at end function

parent 74cdc98a
No related branches found
No related tags found
No related merge requests found
......@@ -735,7 +735,7 @@ bool Config::Tape::headIsAtEnd() const
if (head >= ref.getLastIndex())
return true;
return getHyp(1).empty();
return !getHyp(0).empty() && getHyp(1).empty();
}
int Config::Tape::size()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment