Skip to content

Commit

Permalink
Fix rust format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chiro-hiro committed Sep 20, 2023
1 parent 80b4a03 commit b8f0901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions halo2_proofs/src/poly/kzg/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ where
let mut g_lagrange_projective = vec![E::G1::identity(); n as usize];
let mut root = E::Scalar::ROOT_OF_UNITY;
for _ in k..E::Scalar::S {
root = root.square();
}
root = root.square();
}
let n_inv = E::Scalar::from(n)
.invert()
.expect("inversion should be ok for n = 1<<k");
Expand Down

0 comments on commit b8f0901

Please sign in to comment.