keep s_nodes
This commit is contained in:
1 parent
baeb759824
commit
a6243b43f6
1 file changed
+1
-1
@@ -459,7 +459,7 @@ class Circuit:
|
||||
for l, ll in zip(impl_out_lines, node_out_lines): # connect outputs
|
||||
if ll is None:
|
||||
if l.driver in node_map:
|
||||
self.remove_dangling_nodes(node_map[l.driver], keep=set(self.s_nodes))
|
||||
self.remove_dangling_nodes(node_map[l.driver], keep=ios)
|
||||
continue
|
||||
if len(l.reader.outs) > 0: # output is also read by impl. circuit, connect to fork.
|
||||
ll.driver = node_map[l.reader]
|
||||
|
||||
Reference in new issue
Block a user