check_strength(): also check negated properties

The test is in the patch introducing HOA 1.1 output.

* spot/twaalgos/strength.cc: Here.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2016-04-20 15:18:01 +02:00
parent ae82f1a85d
commit fd33eedf4b
2 changed files with 6 additions and 6 deletions

View file

@ -84,12 +84,11 @@ namespace spot
delete si;
if (set)
{
if (terminal && is_term && is_weak)
aut->prop_terminal(true);
if (is_weak)
aut->prop_weak(true);
if (is_inweak)
aut->prop_inherently_weak(true);
if (terminal)
aut->prop_terminal(is_term && is_weak);
aut->prop_weak(is_weak);
if (inweak)
aut->prop_inherently_weak(is_inweak);
}
if (inweak)
return is_inweak;