From b408b55d5641d7afc8adeb3d01596f3444fd946b Mon Sep 17 00:00:00 2001 From: Manos Date: Wed, 29 Sep 2021 00:54:08 +0200 Subject: [PATCH] lmdk_lib: OCD --- code/lib/lmdk_lib.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/code/lib/lmdk_lib.py b/code/lib/lmdk_lib.py index 356f69a..d34ed17 100644 --- a/code/lib/lmdk_lib.py +++ b/code/lib/lmdk_lib.py @@ -31,12 +31,10 @@ def add_polar_noise(loc, epsilon): [https://github.com/chatziko/location-guard/blob/master/src/js/common/laplace.js] Parameters: - loc - The original location - loc - The original location - loc - The original location - epsilon - The privacy budget + loc - The original location. + epsilon - The privacy budget. Returns: - The perturbed location (lat, lng) + The perturbed location (lat, lng). ''' # The bearing in radians. # Random number in [0, 2*pi),