diff --git a/core/probabilitybuckets_light.py b/core/probabilitybuckets_light.py index 53ce33c..412a532 100644 --- a/core/probabilitybuckets_light.py +++ b/core/probabilitybuckets_light.py @@ -668,7 +668,7 @@ def create_bucket_distribution(self, delta_func, DP_type): elif DP_type == 'pdp': # assuming delta_func describes probabilistic differential privacy G = np.ones((self.number_of_buckets + 1, self.number_of_buckets + 1)) - G = G[np.tril_indices(self.number_of_buckets + 1, -1)] = 0 + G[np.tril_indices(self.number_of_buckets + 1, -1)] = 0 else: raise NotImplementedError("DP_type '{}' not implemented.".format(DP_type))