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

Kevin Jacobs <jacobs@bioinformed.com> bioinformed at gmail.com
Fri Jul 30 22:17:00 EDT 2010


On Fri, Jul 30, 2010 at 10:08 PM, rif <rif at 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.python.org/pipermail/numpy-discussion/attachments/20100730/027c3dda/attachment.html>


More information about the NumPy-Discussion mailing list