Skip to content

Commit 29adcfe

Browse files
raynelfssmtreinish
andauthored
Update crates/circuit/src/dag_circuit.rs
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
1 parent fa34c5a commit 29adcfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/circuit/src/dag_circuit.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -6792,9 +6792,9 @@ impl DAGCircuit {
67926792
metadata: None,
67936793
qregs: None,
67946794
cregs: None,
6795-
input_vars: Vec::with_capacity(0),
6796-
captured_vars: Vec::with_capacity(0),
6797-
declared_vars: Vec::with_capacity(0),
6795+
input_vars: Vec::new(),
6796+
captured_vars: Vec::new(),
6797+
declared_vars: Vec::new(),
67986798
};
67996799
Self::from_circuit(py, circ, copy_op, None, None)
68006800
}

0 commit comments

Comments
 (0)