OpenMined / PyDP

The Python Differential Privacy Library. Built on top of: https://github.com/google/differential-privacy
Apache License 2.0
507 stars 138 forks source link

Fix core crashes due to bound params #271

Closed alejandrosame closed 4 years ago

alejandrosame commented 4 years ago

Description

Fixes #268. Given that the underlying C++ code does not accept NaN values and complains that "inf" values are too high, the approach followed by this was to simply raise ValueError exceptions when bound params are set to "NaN", "-inf" or "inf".

Affected Dependencies

No dependencies changed.

How has this been tested?

Checklist