From 3b4cc88a1a08ed53eb9c4a9891e90b04a44427dd Mon Sep 17 00:00:00 2001 From: rreiner-hqs Date: Mon, 25 Nov 2024 16:48:20 +0100 Subject: [PATCH] fix method call in test --- roqoqo/tests/integration/operations/pragma_operations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roqoqo/tests/integration/operations/pragma_operations.rs b/roqoqo/tests/integration/operations/pragma_operations.rs index e6694d3c..ae278dee 100644 --- a/roqoqo/tests/integration/operations/pragma_operations.rs +++ b/roqoqo/tests/integration/operations/pragma_operations.rs @@ -4026,7 +4026,7 @@ fn pragma_simulation_repetitions_inputs_qubits() { let pragma = PragmaSimulationRepetitions::new(100); // Test inputs are correct - assert_eq!(pragma.repetitions, 100); + assert_eq!(pragma.repetitions(), 100); // Test InvolveQubits trait assert_eq!(pragma.involved_qubits(), InvolvedQubits::None);