From 8011fdf547ab1a6539cc3920136fa9746cab9ba5 Mon Sep 17 00:00:00 2001 From: Raynel Sanchez Date: Wed, 4 Sep 2024 12:58:38 -0400 Subject: [PATCH] Fix: Remove duplicate vars check --- crates/circuit/src/dag_circuit.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/circuit/src/dag_circuit.rs b/crates/circuit/src/dag_circuit.rs index 2aaf5c450d26..1eb27b71d9d9 100644 --- a/crates/circuit/src/dag_circuit.rs +++ b/crates/circuit/src/dag_circuit.rs @@ -6447,10 +6447,6 @@ impl DAGCircuit { }; vars_last_nodes.set_item(var, new_node.index())?; - if var_last_node == new_node { - // TODO: Fix instances of duplicate nodes for Vars - continue; - } self.dag .add_edge(var_last_node, new_node, Wire::Var(var.clone_ref(py))); }