fix fork stripping + fork None values

This commit is contained in:
Stefan Holst committed 2023-07-09 19:01:15 +09:00
1 parent ea45a326ec
commit 2270a9eee7
1 file changed
+2 -1
+2 -1
View File
@@ -229,7 +229,8 @@ class SimOps:
prev_line = prev_line.driver.ins[0]
stem_idx = prev_line.index
for ol in f.outs:
stems[ol] = stem_idx
if ol is not None:
stems[ol] = stem_idx
# calculate level (distance from PI/PPI) and reference count for each line
levels = np.zeros(self.c_locs_len, dtype='int32')