From b8f090118b0eaf3ac8a1e777e04d9a657ec6a463 Mon Sep 17 00:00:00 2001 From: Chiro Hiro Date: Wed, 20 Sep 2023 16:26:21 +0700 Subject: [PATCH] Fix rust format issue --- halo2_proofs/src/poly/kzg/commitment.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/halo2_proofs/src/poly/kzg/commitment.rs b/halo2_proofs/src/poly/kzg/commitment.rs index 2eed21276d..c9157f843d 100644 --- a/halo2_proofs/src/poly/kzg/commitment.rs +++ b/halo2_proofs/src/poly/kzg/commitment.rs @@ -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<