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:
Alexandre Duret-Lutz 2020-12-08 11:56:29 +01:00
parent 9da0b3a1c4
commit eeaed5592f
3 changed files with 6 additions and 2 deletions

View file

@ -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;
}