Commit 3712de0e authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Add warning about completed monitors

Fixes #1.
parent 3092103d
......@@ -412,6 +412,9 @@ def translate(ltlformula, method='GET'):
"If your formula does not belong to this class, "
"the automaton below will accept a superset of "
"the intended language."))
if arg_a == 'm' and aut.acc().is_buchi() and "complete" in args:
warn(res, "To complete the monitor, "
"it has been converted to a Büchi automaton.")
if arg_a == 'p':
accname = aut.acc().name()
if not accname.startswith('parity'):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment