summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-01-27 09:24:14 +0200
committerGitHub <noreply@github.com>2022-01-27 09:24:14 +0200
commitdf80af3da6cb7b71a140528db5a8bb11360e5452 (patch)
tree1b1f5aace0a99baca1a0e37d47fb92c78a1867bc /numpy
parenteee12b6fcf2b05bcdd7fc55da1a5df5d3bee9c28 (diff)
parent575e6b726adcd2c1bef5ca0185aa2b2178cea20e (diff)
downloadnumpy-df80af3da6cb7b71a140528db5a8bb11360e5452.tar.gz
Merge pull request #20911 from hoodmane/random-float-fill-return-type
BUG: Fix the return type of random_float_fill
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/_common.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_common.pxd b/numpy/random/_common.pxd
index 9f2e8c3ca..3625634cd 100644
--- a/numpy/random/_common.pxd
+++ b/numpy/random/_common.pxd
@@ -45,7 +45,7 @@ ctypedef double (*random_double_1)(void *state, double a) nogil
ctypedef double (*random_double_2)(void *state, double a, double b) nogil
ctypedef double (*random_double_3)(void *state, double a, double b, double c) nogil
-ctypedef double (*random_float_fill)(bitgen_t *state, np.npy_intp count, float* out) nogil
+ctypedef void (*random_float_fill)(bitgen_t *state, np.npy_intp count, float* out) nogil
ctypedef float (*random_float_0)(bitgen_t *state) nogil
ctypedef float (*random_float_1)(bitgen_t *state, float a) nogil