[Numpy-discussion] Unable to get most basic numpy array creation from C++ working.

Kevin Jacobs <jacobs@bioinformed.com> bioinformed@gmail....
Fri Jul 30 21:17:00 CDT 2010


On Fri, Jul 30, 2010 at 10:08 PM, rif <rif@google.com> wrote:

> Hi numpy-discuss
> .
> I've distilled my problem down to a very simple program that segfaults.
> I'm sure I'm doing something silly, but hopefully someone can point me in
> the right direction.  I create a program called numpy_test.cc:
>
>
You must call import_array() before using any of the NumPy APIs.

-Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100730/027c3dda/attachment.html 


More information about the NumPy-Discussion mailing list