crflynn / stochastic

Generate realizations of stochastic processes in python.
http://stochastic.readthedocs.io/en/stable/
MIT License
456 stars 82 forks source link

In BernoulliProcess(p=P), bp.p is actually probability of "0" instead of "1" #31

Closed robertocintra closed 4 years ago

robertocintra commented 4 years ago

Thank you for Stochastic! I was preparing a class and realized that bp.p will give failure probability rather than success probability. Very simple fix. Thanks