From 5ea522b840ca0f6f90d02ca00f0de32f515d450f Mon Sep 17 00:00:00 2001 From: Dmytry Victorovich Date: Fri, 6 Oct 2023 14:32:16 +0300 Subject: [PATCH] fix: fix method `program_counter`, change method signature (#3012) --- acvm-repo/brillig_vm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acvm-repo/brillig_vm/src/lib.rs b/acvm-repo/brillig_vm/src/lib.rs index e2c8ae6521a..ca8c52756d1 100644 --- a/acvm-repo/brillig_vm/src/lib.rs +++ b/acvm-repo/brillig_vm/src/lib.rs @@ -313,7 +313,7 @@ impl<'bb_solver, B: BlackBoxFunctionSolver> VM<'bb_solver, B> { } /// Returns the current value of the program counter. - pub fn program_counter(self) -> usize { + pub fn program_counter(&self) -> usize { self.program_counter }