summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel J. Smith <njs@pobox.com>2015-12-15 18:02:00 +0000
committerNathaniel J. Smith <njs@pobox.com>2015-12-15 18:02:00 +0000
commit8ad5f85f849354a3bce9f2790b1fd3a1e30bbbd8 (patch)
tree5faf2182e5c363e8d04dca71ab96b2925a592ca7
parentb0f5c569997782ea74e42b142db4b3b5b2d27323 (diff)
parent9ec7b11a8e458c810acd958a5072686458f84f57 (diff)
downloadnumpy-8ad5f85f849354a3bce9f2790b1fd3a1e30bbbd8.tar.gz
Merge pull request #6836 from jbn/master
Correct reference to Johnk's algorithm
-rw-r--r--numpy/random/mtrand/distributions.c2
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)
{