Commit e4134af1 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

ajax: fix GTA construction

* python/ajax/spotcgi.in: Here.
* NEWS: Mention it.
parent 8dee359e
......@@ -88,6 +88,8 @@ New in spot 2.0.2a (not yet released)
choice of the level is free, it used the last level used. This
caused some posterior simulation-based reductions to be less
efficient at reducing automata (on the average).
* The generalized testing automata displayed by the on-line
translator were incorrect (those output by ltl2tgta were OK).
New in spot 2.0.2 (2016-06-17)
......
......@@ -695,10 +695,8 @@ elif buchi_type == 'i':
degen = True
neverclaim = True
if output_type == 't':
ta_type = form.getfirst('tf', 't')
if ta_type == 't':
degen = True
if output_type == 't' and ta_type == 't':
degen = True
if prune_scc:
# Do not suppress all useless acceptance conditions if
......@@ -769,8 +767,8 @@ if output_type == 't':
if bisimulation:
tautomaton = spot.minimize_tgta(tautomaton)
else:
tautomaton = spot.tgba_to_ta(degen, propset,
True, True, singlepass, livelock)
tautomaton = spot.tgba_to_ta(degen, propset, ta_type == 't',
True, singlepass, livelock)
if bisimulation:
tautomaton = spot.minimize_ta(tautomaton)
dont_run_dot = print_stats(tautomaton, ta = True)
......
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