fix parity game printing

* spot/misc/game.cc: a state could be printed several times
* tests/core/ltlsynt.test: update tests
This commit is contained in:
Maximilien Colange 2018-04-23 14:29:41 +02:00
parent 9698363ef5
commit 9d34c1f500
2 changed files with 2 additions and 1 deletions

View file

@ -51,6 +51,8 @@ void parity_game::print(std::ostream& os)
{
unsigned src = todo.back();
todo.pop_back();
if (seen[src])
continue;
seen[src] = true;
os << src << ' ';
os << out(src).begin()->acc.max_set() - 1 << ' ';