diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2015-12-15 18:02:00 +0000 |
---|---|---|
committer | Nathaniel J. Smith <njs@pobox.com> | 2015-12-15 18:02:00 +0000 |
commit | 8ad5f85f849354a3bce9f2790b1fd3a1e30bbbd8 (patch) | |
tree | 5faf2182e5c363e8d04dca71ab96b2925a592ca7 | |
parent | b0f5c569997782ea74e42b142db4b3b5b2d27323 (diff) | |
parent | 9ec7b11a8e458c810acd958a5072686458f84f57 (diff) | |
download | numpy-8ad5f85f849354a3bce9f2790b1fd3a1e30bbbd8.tar.gz |
Merge pull request #6836 from jbn/master
Correct reference to Johnk's algorithm
-rw-r--r-- | numpy/random/mtrand/distributions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand/distributions.c b/numpy/random/mtrand/distributions.c index 39004178d..7c44088a7 100644 --- a/numpy/random/mtrand/distributions.c +++ b/numpy/random/mtrand/distributions.c @@ -188,7 +188,7 @@ double rk_beta(rk_state *state, double a, double b) if ((a <= 1.0) && (b <= 1.0)) { double U, V, X, Y; - /* Use Jonk's algorithm */ + /* Use Johnk's algorithm */ while (1) { |