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 << ' ';

View file

@ -37,7 +37,6 @@ parity 16;
12 1 0 9,10;
7 1 0 4,13;
13 2 1 3,6;
4 0 1 7,8;
1 3 1 3,14;
14 3 0 1,2;
EOF