Skip to content
Snippets Groups Projects
Commit 31e87b77 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix RHDPDA refactoring

parent cb3dd000
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ bool RealTimeHeightDeterministicDPDA::addReturnTransition(State from, std::varia
throw AutomatonException("State \"" + (std::string) to.getName() + "\" doesn't exist.");
}
 
if (getPushdownStoreAlphabet().count(pop)) {
if (!getPushdownStoreAlphabet().count(pop)) {
throw AutomatonException("Pushdown store symbol \"" + (std::string) pop + "\" doesn't exist.");
}
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment