On Tue, Nov 5, 2013 at 10:10 AM, Sergey Petrov <qweqwegod@yahoo.com> wrote:Rather stupid question here, but I can't figure out by myself:
Why does the following c program segfaults? And how can I avoid it?You need to call import_array before using the C-API, see here: