* src/tgbaalgos/postproc.cc: Misplaced call to scc_filter().

This commit is contained in:
Alexandre Duret-Lutz 2012-09-17 18:47:04 +02:00
parent 675fc0bc67
commit 10189b2d61

View file

@ -99,13 +99,6 @@ namespace spot
{ {
delete wdba; delete wdba;
wdba = 0; wdba = 0;
if (type_ == TGBA && level_ == High)
{
const tgba* s = scc_filter(sim, true);
delete sim;
sim = s;
}
} }
else else
{ {
@ -114,6 +107,13 @@ namespace spot
} }
} }
if (sim && type_ == TGBA && level_ == High)
{
const tgba* s = scc_filter(sim, true);
delete sim;
return s;
}
return wdba ? wdba : sim; return wdba ? wdba : sim;
} }
} }