Commit 7f48a08e authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

postproc: fix a fixme

* spot/twaalgos/postproc.cc: Fix reject_bigger argument of
minimize_obligation for --low.
parent 030ebed3
Pipeline #10207 passed with stages
in 150 minutes and 23 seconds
...@@ -350,8 +350,7 @@ namespace spot ...@@ -350,8 +350,7 @@ namespace spot
// WDBA-minimization. // WDBA-minimization.
if ((PREF_ != Small || level_ != Low) && wdba_minimize_) if ((PREF_ != Small || level_ != Low) && wdba_minimize_)
{ {
// FIXME: This should be level_ <= Medium I believe. bool reject_bigger = (PREF_ == Small) && (level_ <= Medium);
bool reject_bigger = (PREF_ == Small) && (level_ == Medium);
dba = minimize_obligation(a, f, nullptr, reject_bigger, aborter); dba = minimize_obligation(a, f, nullptr, reject_bigger, aborter);
if (dba if (dba
&& dba->prop_inherently_weak().is_true() && dba->prop_inherently_weak().is_true()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment