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
f50486b4cf
commit
7c7f0df8a8
2 changed files with 6 additions and 6 deletions
1
NEWS
1
NEWS
|
|
@ -4,6 +4,7 @@ New in spot 2.0.0a (not yet released)
|
|||
|
||||
* Typo in documentation of the -H option in --help output.
|
||||
* The automaton parser would choke on comments like /******/.
|
||||
* check_strength() should also set negated properties.
|
||||
|
||||
New in spot 2.0 (2016-04-11)
|
||||
|
||||
|
|
|
|||
|
|
@ -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