Re: [Numpy-discussion] pyrex c_numpy.pyx problem

2007-01-31 Thread Robert Kern
Stefan van der Walt wrote: > Any advice/suggestions? I've just committed a fix. I changed the [NPY_MAXDIMS] arrays to pointers (Pyrex doesn't care, really) and changed the flatiter *items to void **items. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enig

[Numpy-discussion] pyrex c_numpy.pyx problem

2007-01-31 Thread Stefan van der Walt
Hi, Pyrex 0.9.5.1 doesn't like the following snippet out of c_numpyx.pyx: ctypedef extern class numpy.broadcast [object PyArrayMultiIterObject]: cdef int numiter cdef npy_intp size, index cdef int nd cdef npy_intp dimensions[NPY_MAXDIMS] cdef flatiter i