Skip to content

Commit

Permalink
Update olh.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vvv214 committed Mar 15, 2019
1 parent bddde93 commit 5d254d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions olh.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def generate_auxiliary():
REAL_DIST = np.zeros(domain)
ESTIMATE_DIST = np.zeros(domain)

p = math.exp(epsilon) / (math.exp(epsilon) + args.projection_range - 1)
q = 1.0 / (math.exp(epsilon) + args.projection_range - 1)
p = math.exp(epsilon) / (math.exp(epsilon) + g - 1)
q = 1.0 / (math.exp(epsilon) + g - 1)


def perturb():
Expand Down

0 comments on commit 5d254d2

Please sign in to comment.