Closed simonmasson closed 2 years ago
In the example, the range_gate is used in the wrong way: it checks that the witness < 2^num_bits. In the example, we actually check that 5 < 2^(2^5) which is confusing.
range_gate
witness < 2^num_bits
5 < 2^(2^5)
@lopeetall @LukePearson1 can you review this PR? I don't know how to add reviewers...
In the example, the
range_gate
is used in the wrong way: it checks that thewitness < 2^num_bits
. In the example, we actually check that5 < 2^(2^5)
which is confusing.