Browse Source

small comment change

master
Your Name 2 weeks ago
parent
commit
c5e3d8b847
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/circuit.rs

+ 1
- 1
src/circuit.rs View File

101
         if curr != 0 {
101
         if curr != 0 {
102
             // Gate(A_i = B_i)
102
             // Gate(A_i = B_i)
103
             let eq_gate = Gate::new(GateType::Equal, vec![], vec![curr - 1, curr - 1 + n]);
103
             let eq_gate = Gate::new(GateType::Equal, vec![], vec![curr - 1, curr - 1 + n]);
104
-            // remember which gate-index this bit belongs to.
104
+            // remember which key-index (see below) this bit belongs to.
105
             indices[n - curr] = all_gates.len();
105
             indices[n - curr] = all_gates.len();
106
             all_gates.push(eq_gate);
106
             all_gates.push(eq_gate);
107
         }
107
         }

Loading…
Cancel
Save