Skip to content

Commit

Permalink
chore: Requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
storojs72 committed Jan 3, 2024
1 parent 276a5ae commit 21ab251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/provider/non_hiding_zeromorph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ fn batched_lifted_degree_quotient<F: PrimeField>(
.fold(
vec![F::ZERO; 1 << num_vars],
|mut q_hat, (idx, (power_of_y, q))| {
offset = q_hat.len() - (1 << idx);
offset = (1 << num_vars) - (1 << idx);
q_hat[offset..]
.par_iter_mut()
.zip(q)
Expand All @@ -399,7 +399,7 @@ fn batched_lifted_degree_quotient<F: PrimeField>(
},
);

assert_eq!(offset, q_hat.len() / 2);
assert_eq!(offset, 1 << (num_vars - 1));

(UVKZGPoly::new(q_hat), offset)
}
Expand Down

0 comments on commit 21ab251

Please sign in to comment.