mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-28 23:45:17 -04:00
fixed an error if nets in nested circuits are merged via a direct nested connection
This commit is contained in:
parent
ad6e26fa80
commit
f15f2bc788
@ -121,7 +121,8 @@ public class Net {
|
||||
*/
|
||||
public void addNet(Net otherNet) {
|
||||
pins.addAll(otherNet.getPins());
|
||||
wires.addAll(otherNet.getWires());
|
||||
if (wires != null && otherNet.getWires() != null)
|
||||
wires.addAll(otherNet.getWires());
|
||||
labelSet.addAll(otherNet.labelSet);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user