Skip to content

Commit

Permalink
Fixing Exponential mechanism test
Browse files Browse the repository at this point in the history
  • Loading branch information
naoise-h committed Sep 29, 2023
1 parent 6f60db3 commit 29cd87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mechanisms/test_Exponential.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def test_zero_measure(self):
measure = [1, 1, 0]
utility = [1, 1, 1]
runs = 10000
mech = self.mech(epsilon=1, utility=utility, measure=measure, sensitivity=1)
mech = self.mech(epsilon=1, utility=utility, measure=measure, sensitivity=1, random_state=0)
count = [0] * 3

for i in range(runs):
Expand Down

0 comments on commit 29cd87c

Please sign in to comment.