translate: Correct the choice of the automaton with the fewest colors

* spot/twaalgos/translate.cc: here
This commit is contained in:
Florian Renkin 2020-12-16 12:51:40 +01:00
parent 7e2f091839
commit 7c6b35313a

View file

@ -416,7 +416,7 @@ namespace spot
if (((PREF_ == Deterministic) && d2_more_det)
|| (s2 < s1)
|| (s2 == s1
&& ((aut2->num_sets() < aut2->num_sets()) || d2_more_det)))
&& ((aut2->num_sets() < aut->num_sets()) || d2_more_det)))
aut = std::move(aut2);
}