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:
parent
ae82f1a85d
commit
fd33eedf4b
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue