Commit 3710e8f2 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

to_parity: minor fixes

* spot/twaalgos/toparity.cc: Do not call prpagate_marks_here twice if
the automaton was not degeneralized.
* spot/twaalgos/toparity.hh: Typo in comment.
parent a375089e
Pipeline #20817 failed with stage
in 38 minutes and 12 seconds
......@@ -1583,7 +1583,8 @@ run()
if (options.propagate_col)
{
propagate_marks_here(sub_automaton);
propagate_marks_here(deg);
if (deg != sub_automaton)
propagate_marks_here(deg);
}
std::map<unsigned, car_state> state2car_sub, state2car_deg;
......
......@@ -49,7 +49,7 @@ namespace spot
/// get a better result if we don't apply partial_degeneralize.
bool force_degen = true;
/// If \c scc_acc_clean is true, to_parity() will ignore colors
/// no occoring in an SCC while processing this SCC.
/// not occurring in an SCC while processing this SCC.
bool acc_clean = true;
/// If \c parity_equiv is true, to_parity() will check if there
/// exists a permutations of colors such that the acceptance
......
Supports Markdown
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