Skip to content

Commit

Permalink
Fix: Remove duplicate vars check
Browse files Browse the repository at this point in the history
  • Loading branch information
raynelfss committed Sep 4, 2024
1 parent ff4b6eb commit 8011fdf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/circuit/src/dag_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}
Expand Down

0 comments on commit 8011fdf

Please sign in to comment.