summaryrefslogtreecommitdiff
path: root/numpy/random/mtrand/numpy.pxd
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-05-14 19:26:29 -0600
committerCharles Harris <charlesr.harris@gmail.com>2014-05-14 19:26:29 -0600
commit13b32e9d157a0ce62c0aa7d1447ad53fbb23d930 (patch)
tree60f38df366e020c4e7bc50156d8edc005bb2b2d8 /numpy/random/mtrand/numpy.pxd
parent677ff902eac3e4a1ad1d8c2c8488672a6907efea (diff)
parent6b1a1205eac6fe5d162f16155d500765e8bca53c (diff)
downloadnumpy-13b32e9d157a0ce62c0aa7d1447ad53fbb23d930.tar.gz
Merge pull request #4676 from juliantaylor/rand-seed-lim
BUG: reject too large seeds to RandomState
Diffstat (limited to 'numpy/random/mtrand/numpy.pxd')
-rw-r--r--numpy/random/mtrand/numpy.pxd2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/random/mtrand/numpy.pxd b/numpy/random/mtrand/numpy.pxd
index 6812cc164..c54f79c0a 100644
--- a/numpy/random/mtrand/numpy.pxd
+++ b/numpy/random/mtrand/numpy.pxd
@@ -121,6 +121,8 @@ cdef extern from "numpy/arrayobject.h":
object PyArray_IterNew(object arr)
void PyArray_ITER_NEXT(flatiter it) nogil
+ dtype PyArray_DescrFromType(int)
+
void import_array()
# include functions that were once macros in the new api