Skip to content

Commit

Permalink
fix: compute system_challenge_offset correctly (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
han0110 authored Nov 8, 2023
1 parent 37759af commit 6691f02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions snark-verifier/src/system/halo2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,7 @@ impl<'a, F: PrimeField> Polynomials<'a, F> {
}

fn system_challenge_offset(&self) -> usize {
let num_challenge = self.num_challenge();
num_challenge[..num_challenge.len() - 3].iter().sum()
self.num_challenge.iter().sum()
}

fn theta(&self) -> Expression<F> {
Expand Down

0 comments on commit 6691f02

Please sign in to comment.