Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
volhovm committed Jan 29, 2025
1 parent 7e9f039 commit 9d95fc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kimchi/src/circuits/polynomials/permutation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ impl<F: PrimeField, G: KimchiCurve<ScalarField = F>, OpeningProof: OpenProof<G>>
//~ $$
//~
let perm = {
// @volhovm: wondering: is it more efficient to map them all individually first, and
// then fold... or map and reduce row by row at the same time?

// shifts = z(x) *
// (w[0](x) + gamma + x * beta * shift[0]) *
// (w[1](x) + gamma + x * beta * shift[1]) * ...
Expand Down Expand Up @@ -432,7 +435,6 @@ impl<F: PrimeField, G: KimchiCurve<ScalarField = F>, OpeningProof: OpenProof<G>>
gamma: &F,
rng: &mut (impl RngCore + CryptoRng),
) -> Result<DensePolynomial<F>, ProverError> {

let n = self.cs.domain.d1.size();

let zk_rows = self.cs.zk_rows as usize;
Expand Down

0 comments on commit 9d95fc9

Please sign in to comment.