BUGFIX: Graph output correct removal of function applications.

The graph output edge remover was incorrect, and would also
remove applications that were not completely triggered by M_0 alone.
This commit is contained in:
Cas Cremers 2008-08-26 13:22:55 +02:00
parent 77cc97c03b
commit 6ffdda4a3c

View File

@ -691,9 +691,12 @@ isApplicationM0 (const System sys, const int run)
{ {
if (isApplication (sys, run)) if (isApplication (sys, run))
{ {
if (isEnabledM0 (sys, run, 1)) if (isEnabledM0 (sys, run, 0))
{ {
return true; if (isEnabledM0 (sys, run, 1))
{
return true;
}
} }
} }
} }