Commit dfa2aed9 authored by Sebastian Vollbrecht's avatar Sebastian Vollbrecht

Fixed a bug which caused the detection of loose nodes to fail unexpectedly.

parent 3b366dce
......@@ -222,7 +222,7 @@ public class InfeasibleNodePlacer implements Initializable {
Set<Integer> swappableIDs = new HashSet<>();
for (int id : infeasibleCfg.getLayers().getLayer(layer)) {
if (infeasibleCfg.getFixedNodes().contains(infeasibleCfg.getNodeTable().get(id))) {
if (!infeasibleCfg.getFixedNodes().contains(infeasibleCfg.getNodeTable().get(id))) {
swappableIDs.add(id);
}
}
......
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