Skip to content

Commit

Permalink
OK i cant screw with the threshold it seems
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewQuijano committed Jan 22, 2024
1 parent ce7265b commit 8f41531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/weka/finito/utils/shared.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ else if ((comparisonType == 3) || (comparisonType == 5)) {
}
assert encrypted_client_value != null;
long start_time = System.nanoTime();
if ((comparisonType == 1) || (comparisonType == 4) || (comparisonType == 5)) {
if ((comparisonType == 1) && (ld.threshold == 0) ||
(comparisonType == 4) || (comparisonType == 5)) {
answer = Niu.Protocol2(encrypted_thresh, encrypted_client_value);
}
else {
Expand Down

0 comments on commit 8f41531

Please sign in to comment.