[Numpy-discussion] access ndarray in C++

Robert Kern robert.kern at gmail.com
Wed Apr 23 16:50:15 EDT 2008


On Wed, Apr 23, 2008 at 3:46 PM, Thomas Hrabe <thrabe at burnham.org> wrote:
>  I have discovered a bug in ndarrayobject.h by the way. I do not know which
> numpy version we have installed here, but when compiling my c code with
> -pendantic I got this error:
>
>
> /home/global/python32/lib/python2.4/site-packages/numpy/core/include/numpy/ndarrayobject.h:192:
> error: comma at end of enumerator list
>
> /home/global/python32/lib/python2.4/site-packages/numpy/core/include/numpy/ndarrayobject.h:199:
> error: comma at end of enumerator list
>
> /home/global/python32/lib/python2.4/site-packages/numpy/core/include/numpy/ndarrayobject.h:211:
> error: comma at end of enumerator list
>
>  I have no access to the newest numpy version, so if anybody has, please fix
> it... (in case its not on full purpose for something...)

Fixed in SVN, thank you.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the NumPy-Discussion mailing list