lmacken / quantumrandom

Tools for utilizing the ANU Quantum Random Number Generator
https://pypi.python.org/pypi/quantumrandom
146 stars 36 forks source link

Fix an off-by-one error when using range as a bit width. #13

Closed ekimekim closed 11 years ago

ekimekim commented 11 years ago

This was causing a hang when range == 1, and would have also resulted in a value of 65536 never beeing seen in a request like randint(0,65536).

Sorry this took so long, I've been sick and circumstances prevented me from being able to push.

lmacken commented 11 years ago

Thanks!