tgbaexplicit: fix state_is_accepting()
* src/tgba/tgbaexplicit.hh (state_is_accepting): Use all_acceptance_conditions(), not all_acceptance_conditions_, so that it works even when all_acceptance_conditions_ is not ready. * src/tgbatest/explicit2.cc, src/tgbatest/explicit2.test: Adjust test case.
This commit is contained in:
parent
76787b23c0
commit
fa4e6effa6
3 changed files with 20 additions and 20 deletions
|
|
@ -711,7 +711,7 @@ namespace spot
|
|||
if (st->successors.empty())
|
||||
return false;
|
||||
return (st->successors.front().acceptance_conditions
|
||||
== this->all_acceptance_conditions_);
|
||||
== this->all_acceptance_conditions());
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue