From 8d95b155b4d281f7fb54907da6e8e034cfd2f98c Mon Sep 17 00:00:00 2001 From: yanziseeker <153156292+AdventureSeeker987@users.noreply.github.com> Date: Wed, 24 Apr 2024 21:29:35 +0800 Subject: [PATCH 1/2] Update transpose_util.rs --- util/src/transpose_util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/src/transpose_util.rs b/util/src/transpose_util.rs index 6e19a363..b614d022 100644 --- a/util/src/transpose_util.rs +++ b/util/src/transpose_util.rs @@ -27,7 +27,7 @@ unsafe fn transpose_in_place_square_small( } /// Transpose square matrices and swap -/// The matrices are of of size `1 << lb_size` by `1 << lb_size`. They occupy +/// The matrices are of size `1 << lb_size` by `1 << lb_size`. They occupy /// `M0[i, j] == arr[(i + x << lb_stride) + j + y]`, `M1[i, j] == arr[i + x + (j + y << lb_stride)]` /// for `0 <= i, j < 1 << lb_size. The transposition swaps `M0[i, j]` and `M1[j, i]`. /// @@ -53,7 +53,7 @@ unsafe fn transpose_swap_square_small( } /// Transpose square matrices and swap -/// The matrices are of of size `1 << lb_size` by `1 << lb_size`. They occupy +/// The matrices are of size `1 << lb_size` by `1 << lb_size`. They occupy /// `M0[i, j] == arr[(i + x << lb_stride) + j + y]`, `M1[i, j] == arr[i + x + (j + y << lb_stride)]` /// for `0 <= i, j < 1 << lb_size. The transposition swaps `M0[i, j]` and `M1[j, i]`. /// From 1f6c04f62cf220ee2be65d0ecab04ca165f866b9 Mon Sep 17 00:00:00 2001 From: yanziseeker <153156292+AdventureSeeker987@users.noreply.github.com> Date: Wed, 24 Apr 2024 21:30:39 +0800 Subject: [PATCH 2/2] Update circuit_data.rs --- plonky2/src/plonk/circuit_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plonky2/src/plonk/circuit_data.rs b/plonky2/src/plonk/circuit_data.rs index 413de54c..3f848ad2 100644 --- a/plonky2/src/plonk/circuit_data.rs +++ b/plonky2/src/plonk/circuit_data.rs @@ -363,7 +363,7 @@ pub struct ProverOnlyCircuitData< pub circuit_digest: <>::Hasher as Hasher>::Hash, ///The concrete placement of the lookup gates for each lookup table index. pub lookup_rows: Vec, - /// A vector of (looking_in, looking_out) pairs for for each lookup table index. + /// A vector of (looking_in, looking_out) pairs for each lookup table index. pub lut_to_lookups: Vec, }