From 35c79d6b794f08445d6e0e613529878c017120cf Mon Sep 17 00:00:00 2001 From: Raynel Sanchez Date: Mon, 16 Sep 2024 10:53:58 -0400 Subject: [PATCH] Format: Change redundant iteration statement for params --- crates/circuit/src/dag_circuit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/circuit/src/dag_circuit.rs b/crates/circuit/src/dag_circuit.rs index 4711c697971c..54f270b30558 100644 --- a/crates/circuit/src/dag_circuit.rs +++ b/crates/circuit/src/dag_circuit.rs @@ -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,