summaryrefslogtreecommitdiff
path: root/numpy/random/src/distributions/random_hypergeometric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/src/distributions/random_hypergeometric.c')
-rw-r--r--numpy/random/src/distributions/random_hypergeometric.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/random/src/distributions/random_hypergeometric.c b/numpy/random/src/distributions/random_hypergeometric.c
index 94dc6380f..da5ea9c68 100644
--- a/numpy/random/src/distributions/random_hypergeometric.c
+++ b/numpy/random/src/distributions/random_hypergeometric.c
@@ -1,4 +1,4 @@
-#include "distributions.h"
+#include "include/distributions.h"
#include "logfactorial.h"
#include <stdint.h>
@@ -188,8 +188,8 @@ static int64_t hypergeometric_hrua(bitgen_t *bitgen_state,
while (1) {
double U, V, X, T;
double gp;
- U = random_double(bitgen_state);
- V = random_double(bitgen_state); // "U star" in Stadlober (1989)
+ U = next_double(bitgen_state);
+ V = next_double(bitgen_state); // "U star" in Stadlober (1989)
X = a + h*(V - 0.5) / U;
// fast rejection: