remove old connections in substitute node reuse
This commit is contained in:
1 parent
5a693f7b9b
commit
ec5626b8ca
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user