misc: improve previous commit (thanks to A. Duret-Lutz)
* spot/misc/game.cc: here.
This commit is contained in:
parent
d7fa7f4826
commit
4bc68f8ab8
1 changed files with 2 additions and 2 deletions
|
|
@ -103,8 +103,8 @@ parity_game::attractor(const region_t& subgame, region_t& set,
|
|||
}
|
||||
++i;
|
||||
}
|
||||
if ((((owner_[s] && odd) || (!owner_[s] && !odd)) && any) ||
|
||||
(((!owner_[s] && odd) || (owner_[s] && !odd)) && all))
|
||||
bool owner_is_odd = !!owner_[s] == odd;
|
||||
if ((owner_is_odd && any) || (!owner_is_odd && all))
|
||||
{
|
||||
set.insert(s);
|
||||
delta.insert(s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue