Skip to content

Commit

Permalink
fix the lookup alpha bug
Browse files Browse the repository at this point in the history
  • Loading branch information
weikengchen committed Sep 16, 2024
1 parent bf8ed0c commit 306a1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/prover/src/constraint_framework/logup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub struct LookupElements<const N: usize> {
impl<const N: usize> LookupElements<N> {
pub fn draw(channel: &mut impl Channel) -> Self {
let [z, alpha] = channel.draw_felts(2).try_into().unwrap();
let mut cur = SecureField::one();
let mut cur = alpha;
let alpha_powers = std::array::from_fn(|_| {
let res = cur;
cur *= alpha;
Expand Down

0 comments on commit 306a1ed

Please sign in to comment.