small comment change
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ fn create_n_bit_comparator_gates(n: usize) -> Vec<Gate> {
|
|||||||
if curr != 0 {
|
if curr != 0 {
|
||||||
// Gate(A_i = B_i)
|
// Gate(A_i = B_i)
|
||||||
let eq_gate = Gate::new(GateType::Equal, vec![], vec![curr - 1, curr - 1 + n]);
|
let eq_gate = Gate::new(GateType::Equal, vec![], vec![curr - 1, curr - 1 + n]);
|
||||||
// remember which gate-index this bit belongs to.
|
// remember which key-index (see below) this bit belongs to.
|
||||||
indices[n - curr] = all_gates.len();
|
indices[n - curr] = all_gates.len();
|
||||||
all_gates.push(eq_gate);
|
all_gates.push(eq_gate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user