[Numpy-discussion] access ndarray in C++

Thomas Hrabe thrabe@burnham....
Wed Apr 23 15:46:34 CDT 2008


is a nice example. 
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...)

Thank you and I bet I will post here again soon,

-----Original Message-----
From: numpy-discussion-bounces@scipy.org on behalf of Christopher Barker
Sent: Wed 4/23/2008 1:15 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] access ndarray in C++
Christopher Barker wrote:
> Thomas Hrabe wrote:
> I'd poke around the wiki, and this mailing list archives, for more examples.

This may help:



Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Numpy-discussion mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080423/f6b925c5/attachment.html 

More information about the Numpy-discussion mailing list