reduce_mealy_here: do not reduce when size is 1
* spot/twaalgos/mealy_machine.cc: here
This commit is contained in:
parent
c7c18db6db
commit
2274308cad
1 changed files with 3 additions and 0 deletions
|
|
@ -800,6 +800,9 @@ namespace spot
|
||||||
{
|
{
|
||||||
ensure_mealy("reduce_mealy_here", mm);
|
ensure_mealy("reduce_mealy_here", mm);
|
||||||
|
|
||||||
|
if (mm->num_states() == 1)
|
||||||
|
return;
|
||||||
|
|
||||||
// Only consider infinite runs
|
// Only consider infinite runs
|
||||||
mm->purge_dead_states();
|
mm->purge_dead_states();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue