more of a cosmetic cleanup

This commit is contained in:
hneemann 2020-12-27 09:39:36 +01:00
parent 3c12ecd0d3
commit bf3b28f6f5

View File

@ -238,7 +238,8 @@ public class NetList implements Iterable<Net> {
*/
public void remove(Net childNet) {
netList.remove(childNet);
// for (Pin p : childNet.getPins())
// pinMap.remove(p);
for (Pin p : childNet.getPins())
if (pinMap.get(p) == childNet)
pinMap.remove(p);
}
}