diff --git a/snarled/main.py b/snarled/main.py index 047ac86..7c04a75 100644 --- a/snarled/main.py +++ b/snarled/main.py @@ -155,6 +155,7 @@ def trace_connectivity( finished_layers = loaded_layers - remaining_layers for layer in finished_layers: nets_info.prune(layer) + loaded_layers.remove(layer) return nets_info