forq: remove the "same AP set" restriction
* spot/twaalgos/forq_contains.cc: Remove the check. * tests/python/forq_contains.py: Add two test cases for this.
This commit is contained in:
parent
6eff384fca
commit
6ac2416e5d
2 changed files with 12 additions and 3 deletions
|
|
@ -628,9 +628,6 @@ namespace spot
|
|||
if (lhs->get_dict() != rhs->get_dict())
|
||||
throw std::runtime_error
|
||||
("The two input automata must use the same twa_dict.");
|
||||
if (lhs->ap() != rhs->ap())
|
||||
throw std::runtime_error("The two input graphs must use the same set "
|
||||
"of APs");
|
||||
|
||||
forq::forq_setup setup = forq::create_forq_setup(lhs, rhs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue