Skip to content

Commit 1d63dfc

Browse files
replacing data by _data (accidentally removed in cleanup)
1 parent ba31224 commit 1d63dfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/circuit/src/operations.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2642,7 +2642,7 @@ impl Operation for PyInstruction {
26422642
Python::with_gil(|py| -> Option<CircuitData> {
26432643
match self.instruction.getattr(py, intern!(py, "definition")) {
26442644
Ok(definition) => definition
2645-
.getattr(py, intern!(py, "data"))
2645+
.getattr(py, intern!(py, "_data"))
26462646
.ok()?
26472647
.extract::<CircuitData>(py)
26482648
.ok(),
@@ -2719,7 +2719,7 @@ impl Operation for PyGate {
27192719
Python::with_gil(|py| -> Option<CircuitData> {
27202720
match self.gate.getattr(py, intern!(py, "definition")) {
27212721
Ok(definition) => definition
2722-
.getattr(py, intern!(py, "data"))
2722+
.getattr(py, intern!(py, "_data"))
27232723
.ok()?
27242724
.extract::<CircuitData>(py)
27252725
.ok(),

0 commit comments

Comments
 (0)