cube: incorrect use of reverse_binder in are_equivalent

Thanks to A. Martin for reporting this.

* spot/twacube_algos/convert.cc,
tests/core/twacube.cc: Here.
This commit is contained in:
Etienne Renault 2020-05-22 12:53:12 +02:00
parent e564dd1263
commit b1b59d0eae
2 changed files with 28 additions and 3 deletions

View file

@ -218,9 +218,7 @@ namespace spot
// Grep bdd id for each atomic propositions
std::vector<int> bdds_ref;
for (unsigned i = 0; i < aps_twacube.size(); ++i)
{
bdds_ref.push_back(ap_binder[i]);
}
bdds_ref.push_back(res->register_ap(twacube->ap()[i]));
// Build all resulting states
for (unsigned int i = 0; i < theg.num_states(); ++i)