From 36b2a2af51100983139623fa68cec5c6fef73fcc Mon Sep 17 00:00:00 2001 From: Eric Firing Date: Tue, 20 Apr 2010 10:16:13 +0200 Subject: [PATCH] Bugfix in numpy.pxd --- Cython/Includes/numpy.pxd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Includes/numpy.pxd b/Cython/Includes/numpy.pxd index 26af3b06..ad6a963b 100644 --- a/Cython/Includes/numpy.pxd +++ b/Cython/Includes/numpy.pxd @@ -481,8 +481,8 @@ cdef extern from "numpy/arrayobject.h": bint PyArray_FROM_OT(object m, int type) bint PyArray_FROM_OTF(object m, int type, int flags) object PyArray_FROMANY(object m, int type, int min, int max, int flags) - bint PyArray_ZEROS(ndarray m, dims, int type, int fortran) - object PyArray_EMPTY(object m, dims, int type, int fortran) + bint PyArray_ZEROS(ndarray m, npy_intp* dims, int type, int fortran) + object PyArray_EMPTY(object m, npy_intp* dims, int type, int fortran) void PyArray_FILLWBYTE(object, int val) npy_intp PyArray_REFCOUNT(object) object PyArray_ContiguousFromAny(op, int, int min_depth, int max_depth) -- 2.26.2