mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-09 04:45:17 -04:00
more of a cosmetic cleanup
This commit is contained in:
parent
3c12ecd0d3
commit
bf3b28f6f5
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user