google / rappor

RAPPOR: Privacy-Preserving Reporting Algorithms
Apache License 2.0
859 stars 165 forks source link

Python fastRand fails when given p=1 #61

Closed tkaitchuck closed 8 years ago

tkaitchuck commented 8 years ago

import _fastrand _fastrand.randbits(1.0, num_bits)

results in 0L

andychu commented 8 years ago

Fixed by pull request 62

https://github.com/google/rappor/pull/62