Skip to content

Commit

Permalink
Call push_front instead of push_back in apply_operation_front
Browse files Browse the repository at this point in the history
  • Loading branch information
eliarbel committed Jul 30, 2024
1 parent 1c34ef5 commit f81eee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/circuit/src/dag_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ def _format(operand):
}
}
}
self.push_back(py, instr)?
self.push_front(py, instr)?
};

self.get_node(py, node)
Expand Down

0 comments on commit f81eee4

Please sign in to comment.