Skip to content

Commit

Permalink
bug fix for false automa
Browse files Browse the repository at this point in the history
  • Loading branch information
francescofuggitti committed Sep 24, 2018
1 parent 06ab237 commit 7c8d249
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ltlf2dfa/DotHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def modify_dot(self):
graph.delete_edge('init', '0')
graph.delete_edge('0', '1')
graph.add_edge('init', '1')
else:
graph.delete_edge('init', '0')
graph.add_edge('init', '0')
self.new_digraph = graph
else:
print('[ERROR] - No file DOT exists')
Expand Down

0 comments on commit 7c8d249

Please sign in to comment.