Skip to content

Commit

Permalink
Fix: Adapt to only use CircuitData.
Browse files Browse the repository at this point in the history
  • Loading branch information
raynelfss committed Aug 30, 2024
1 parent daaba41 commit 9674018
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ pub(crate) fn basis_search(
let edge_data = edge.weight().as_ref().unwrap();
let mut cost_tot = 0;
let borrowed_cost = opt_cost_map.borrow();
for instruction in edge_data.rule.circuit.data.iter() {
for instruction in edge_data.rule.circuit.0.iter() {
let instruction_op = instruction.op.view();
cost_tot += borrowed_cost[&(
instruction_op.name().to_string(),
Expand Down

0 comments on commit 9674018

Please sign in to comment.