Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
s0l0ist committed Sep 30, 2024
1 parent 08df164 commit b4df2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private_set_intersection/go/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func TestIntegrationIntersection(t *testing.T) {
t.Errorf("Invalid intersection. expected lower bound %v. got %v", int64(numClientInputs/2), intersectionCnt)
}

if float64(intersectionCnt) > math.Ceil(float64(numClientInputs)/2.0*1.1) {
if float64(intersectionCnt) >= math.Ceil(float64(numClientInputs)/2.0*1.1) {
t.Errorf("Invalid intersection. expected upper bound %v. got %v", math.Ceil(float64(numClientInputs)/2.0*1.1), intersectionCnt)
}

Expand Down

0 comments on commit b4df2ed

Please sign in to comment.