* src/tgbaalgos/sccfilter.cc (create_transition): Do not clone
the same node twice when dealing with loops.
This commit is contained in:
parent
9a14d28a06
commit
ab02ee60fe
2 changed files with 6 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ namespace spot
|
|||
const ltl::formula* out_f = a->get_label(out_s);
|
||||
if (!out_aut->has_state(in_f))
|
||||
in_f->clone();
|
||||
if (!out_aut->has_state(out_f))
|
||||
if ((in_f != out_f) && !out_aut->has_state(out_f))
|
||||
out_f->clone();
|
||||
return out_aut->create_transition(in_f, out_f);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue