Skip to content

Commit

Permalink
fix: check with is_first instead of is_last in exp reverse bits c…
Browse files Browse the repository at this point in the history
…hip (#1482)
  • Loading branch information
erabinov authored Sep 27, 2024
1 parent c9b305b commit 19f34b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/recursion/core-v2/src/chips/exp_reverse_bits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl<const DEGREE: usize> ExpReverseBitsLenChip<DEGREE> {

builder
.when(local_prepr.is_real)
.when_not(local_prepr.is_last)
.when_not(local_prepr.is_first)
.assert_eq(local.accum, local.prev_accum_squared_times_multiplier);

// Constrain the accum_squared column.
Expand Down

0 comments on commit 19f34b0

Please sign in to comment.