mirror of
https://github.com/logos-blockchain/logos-blockchain-circuits.git
synced 2026-05-19 07:49:30 +00:00
fix bug in comparator full less than
This commit is contained in:
parent
b36f7f3f2f
commit
1ce5a77e44
@ -52,7 +52,7 @@ template SafeFullLessThan() {
|
||||
|
||||
signal intermediate_results[4];
|
||||
intermediate_results[0] <== (1 - C.out) * (1-D.out);
|
||||
intermediate_results[1] <== (1 - C.out) * (1-E.out);
|
||||
intermediate_results[1] <== C.out * (1-E.out);
|
||||
intermediate_results[2] <== intermediate_results[1] * (1- F.out);
|
||||
intermediate_results[3] <== B.out * (intermediate_results[0] + intermediate_results[2]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user