Browse Source

remove old connections in substitute node reuse

devel
Stefan Holst 1 year ago
parent
commit
ec5626b8ca
  1. 2
      src/kyupy/circuit.py

2
src/kyupy/circuit.py

@ -370,6 +370,8 @@ class Circuit: @@ -370,6 +370,8 @@ class Circuit:
if designated_cell is not None:
node.kind = designated_cell.kind
node_map[designated_cell] = node
node.ins = GrowingList()
node.outs = GrowingList()
else:
node.remove()
ios = set(impl.io_nodes)

Loading…
Cancel
Save