* src/tgbaalgos/hoa.cc: Use is_buchi() and is_true().

This commit is contained in:
Alexandre Duret-Lutz 2015-02-25 22:40:03 +01:00
parent 5b2c7b55ed
commit da2ccdb2ed

View file

@ -254,9 +254,9 @@ namespace spot
unsigned num_acc = aut->acc().num_sets();
if (aut->acc().is_generalized_buchi())
{
if (num_acc == 0)
if (aut->acc().is_true())
os << "acc-name: all";
else if (num_acc == 1)
else if (aut->acc().is_buchi())
os << "acc-name: Buchi";
else
os << "acc-name: generalized-Buchi " << num_acc;