fix ignored aborter in WDBA-minimization
Fixes #443, reported by Roei Nahum. (However the fix only works for the development version, where wdba-det-max was introduced to work around that kind of problem.) * spot/twaalgos/minimize.cc: Avoid aborter being implicitly converted to Boolean. * tests/core/ltl2tgba2.test: Add test case. * THANKS: Add Roei Nahum.
This commit is contained in:
parent
9da0b3a1c4
commit
eeaed5592f
3 changed files with 6 additions and 2 deletions
|
|
@ -386,7 +386,6 @@ namespace spot
|
|||
twa_graph_ptr det_a;
|
||||
|
||||
{
|
||||
power_map pm;
|
||||
bool input_is_det = is_deterministic(a);
|
||||
if (input_is_det)
|
||||
{
|
||||
|
|
@ -394,7 +393,7 @@ namespace spot
|
|||
}
|
||||
else
|
||||
{
|
||||
det_a = tgba_powerset(a, pm, aborter);
|
||||
det_a = tgba_powerset(a, aborter);
|
||||
if (!det_a)
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue