Skip to content

Commit

Permalink
fix: fix method program_counter, change method signature (noir-lang…
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvict authored and Sakapoi committed Oct 19, 2023
1 parent 8b75cf4 commit 7b6862a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acvm-repo/brillig_vm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 7b6862a

Please sign in to comment.