hoa: fix output
* src/tgbaalgos/hoaf.cc: Do not initialize acc_cond::mark_t with -1U.
This commit is contained in:
parent
45e9b96b66
commit
e1d4522ca9
1 changed files with 10 additions and 4 deletions
|
|
@ -107,7 +107,8 @@ namespace spot
|
||||||
{
|
{
|
||||||
auto src = todo.front();
|
auto src = todo.front();
|
||||||
todo.pop_front();
|
todo.pop_front();
|
||||||
acc_cond::mark_t prev = -1U;
|
bool notfirst = false;
|
||||||
|
acc_cond::mark_t prev = 0U;
|
||||||
bool st_acc = true;
|
bool st_acc = true;
|
||||||
bdd sum = bddfalse;
|
bdd sum = bddfalse;
|
||||||
bdd available = bddtrue;
|
bdd available = bddtrue;
|
||||||
|
|
@ -137,10 +138,15 @@ namespace spot
|
||||||
if (st_acc)
|
if (st_acc)
|
||||||
{
|
{
|
||||||
acc_cond::mark_t acc = i->current_acceptance_conditions();
|
acc_cond::mark_t acc = i->current_acceptance_conditions();
|
||||||
if (prev != -1U && prev != acc)
|
if (notfirst && prev != acc)
|
||||||
st_acc = false;
|
{
|
||||||
|
st_acc = false;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
prev = acc;
|
{
|
||||||
|
notfirst = true;
|
||||||
|
prev = acc;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (is_complete)
|
if (is_complete)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue