From ed2e1bc780f749748b20f83edd2a899dd4c5bb53 Mon Sep 17 00:00:00 2001 From: Robin Salen Date: Mon, 8 Jan 2024 09:38:55 +0100 Subject: [PATCH] Add comment --- plonky2/src/plonk/circuit_builder.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plonky2/src/plonk/circuit_builder.rs b/plonky2/src/plonk/circuit_builder.rs index fba33434..c0e0d870 100644 --- a/plonky2/src/plonk/circuit_builder.rs +++ b/plonky2/src/plonk/circuit_builder.rs @@ -112,7 +112,9 @@ pub struct LookupWire { /// let mut prev_target = initial_a; /// let mut cur_target = initial_b; /// for _ in 0..99 { +/// // Encode an addition of the two previous terms /// let temp = builder.add(prev_target, cur_target); +/// // Shift the two previous terms with the new value /// prev_target = cur_target; /// cur_target = temp; /// }