summaryrefslogtreecommitdiff
path: root/numpy/array_api/_utility_functions.py
diff options
context:
space:
mode:
authorHood Chatham <roberthoodchatham@gmail.com>2022-01-26 18:59:47 -0800
committerHood Chatham <roberthoodchatham@gmail.com>2022-01-26 19:05:06 -0800
commit575e6b726adcd2c1bef5ca0185aa2b2178cea20e (patch)
tree1b1f5aace0a99baca1a0e37d47fb92c78a1867bc /numpy/array_api/_utility_functions.py
parenteee12b6fcf2b05bcdd7fc55da1a5df5d3bee9c28 (diff)
downloadnumpy-575e6b726adcd2c1bef5ca0185aa2b2178cea20e.tar.gz
BUG: Fix the return type of random_float_fill
The `random_float_fill` function type is declared with return type `double` but I think this is a typo. The actual implementation of `random_float_fill` is `random_standard_uniform_fill_f` which has return type `void`: void random_standard_uniform_fill_f(bitgen_t *bitgen_state, npy_intp cnt, float *out) Also, `random_double_fill` is declared with return type `void`. This fixes the return type of `random_float_fill` to match.
Diffstat (limited to 'numpy/array_api/_utility_functions.py')
0 files changed, 0 insertions, 0 deletions