- Bugfix for self-initiator detection. Woops.

This commit is contained in:
ccremers 2006-03-13 14:19:01 +00:00
parent 74052cf226
commit f7ee9743d2

View File

@ -39,7 +39,7 @@ selfInitiator (const System sys, const int run)
} }
else else
{ {
termlistAdd (seen, agent); seen = termlistAdd (seen, agent);
} }
agents = agents->next; agents = agents->next;
} }
@ -88,7 +88,7 @@ attackCost (const System sys)
cost = 0; cost = 0;
cost += get_semitrace_length (); cost += get_semitrace_length ();
cost += 5 * selfInitiators (sys); cost += 8 * selfInitiators (sys);
return cost; return cost;
} }