Commit 60bdf5de authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

translate: relabel_bool was ignored when option_map was not supplied

* spot/twaalgos/translate.cc: Set relabel_bool_ to 4 by default, not
-1.  Also call relabel_apply when the formula is relabeled.
parent 89fcd2b4
Pipeline #9239 passed with stages
in 158 minutes and 18 seconds
......@@ -35,7 +35,8 @@ namespace spot
void translator::setup_opt(const option_map* opt)
{
comp_susp_ = early_susp_ = skel_wdba_ = skel_simul_ = 0;
relabel_bool_ = tls_impl_ = -1;
relabel_bool_ = 4;
tls_impl_ = -1;
ltl_split_ = true;
opt_ = opt;
......@@ -423,6 +424,8 @@ namespace spot
formula r = simpl_->simplify(to_work_on);
if (to_work_on == *f)
*f = r;
else
*f = relabel_apply(r, &m);
auto aut = run_aux(r);
......
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