Commit 65682057 authored by Xabier Perez Bascaran's avatar Xabier Perez Bascaran

Minor fix

parent 09d3019d
......@@ -154,7 +154,9 @@ public class ResourceManagerComms extends ResourceManager {
List<Worker> activeWorkers = node.getWorkers().stream().filter(w -> w.isActive()).collect(Collectors.toList());
for (int ww = 0; ww < activeWorkers.size(); ww++) {
commsCost = getCost(activeWorkers.get(ww));
if((commsCost = getCost(activeWorkers.get(ww))) == -1)
return;
}
//System.out.println("Worker.setCommunicationCost(" + String.valueOf(commsCost) + ")");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment