contains: fix the semantics
spot::contains(a, b) should test a⊇b. It was testing a⊆b instead. * NEWS: Mention the bug. * spot/twaalgos/contains.cc, spot/twaalgos/contains.hh: Fix the code and documentation. * tests/python/contains.ipynb: Adjust description and expected results. * python/spot/__init__.py: Also swap the argument of language_containment_checker.contains() * bin/autfilt.cc: Adjust usage.
This commit is contained in:
parent
126d392355
commit
701a3b1c6a
6 changed files with 27 additions and 50 deletions
5
NEWS
5
NEWS
|
|
@ -16,6 +16,11 @@ New in spot 2.6.0.dev (not yet released)
|
|||
set. (This combinations of options is not available from
|
||||
command-line tools.)
|
||||
|
||||
- The spot::contains(a, b) function introduced in 2.6 was testing
|
||||
a⊆b instead of a⊇b as one would expect. Infortunately the
|
||||
documentation was also matching the code, so this is a backward
|
||||
incompatible change.
|
||||
|
||||
|
||||
New in spot 2.6 (2018-07-04)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue