Skip to content

Commit

Permalink
Update poc/flp_generic.py
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Patton <[email protected]>
  • Loading branch information
junyechen1996 and cjpatton authored Oct 13, 2023
1 parent ad51a41 commit f9d6abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poc/flp_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ class MultiHotHistogram(Valid):
A validity circuit that checks each Client's measurement is a bit vector
with at most `max_num_bits` 1s.
In order to check the Client measurement `x` has at most `max_num_bits` 1s,
In order to check the Client measurement `x` has at most `max_count` 1s,
we ask the Client to send an additional `bits_for_count` bits that
encode the number of 1s in the measurement, with an offset. Specifically:
- Let `num_bits_for_count = int(log2(max_num_bits)) + 1`.
Expand Down

0 comments on commit f9d6abe

Please sign in to comment.