diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-05-14 19:26:29 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-05-14 19:26:29 -0600 |
commit | 13b32e9d157a0ce62c0aa7d1447ad53fbb23d930 (patch) | |
tree | 60f38df366e020c4e7bc50156d8edc005bb2b2d8 /numpy/random/mtrand/numpy.pxd | |
parent | 677ff902eac3e4a1ad1d8c2c8488672a6907efea (diff) | |
parent | 6b1a1205eac6fe5d162f16155d500765e8bca53c (diff) | |
download | numpy-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.pxd | 2 |
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 |