Skip to content

Commit

Permalink
Format: Change redundant iteration statement for params
Browse files Browse the repository at this point in the history
  • Loading branch information
raynelfss committed Sep 16, 2024
1 parent 587874e commit 35c79d6
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 @@ -5288,7 +5288,7 @@ impl DAGCircuit {
op,
qubits: self.qargs_interner.insert(qargs),
clbits: self.cargs_interner.insert(cargs),
params: params.map(|params: SmallVec<[Param; 3]>| Box::new(params)),
params: params.map(Box::new),
extra_attrs,
#[cfg(feature = "cache_pygates")]
py_op,
Expand Down

0 comments on commit 35c79d6

Please sign in to comment.