When `epsilon==0`, `PrivacyLossDistribution.from_privacy_parameters()` fails.
ngrislain opened this issue · comments
Nicolas Grislain commented
If epsilon==0
(or small compared to value_discretization_interval
) then rounded_probability_mass_function
is assigned a dict with twice the same key, so the second will overwrite the first (python should probably not silently do that).
differential-privacy/python/dp_accounting/privacy_loss_distribution.py
Lines 582 to 587 in fc4f2ab