- Bugfix for self-initiator detection. Woops.
This commit is contained in:
parent
74052cf226
commit
f7ee9743d2
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user