On Mon, Oct 5, 2009 at 9:42 PM, Robert Kern wrote:
> On Mon, Oct 5, 2009 at 23:34, Ondrej Certik wrote:
>
>> The only mention of the _import_array() in the documentation that I
>> found is here:
>>
>> http://docs.scipy.org/doc/numpy/reference/c-api.array.html#NO_IMPORT_ARRAY
>>
>>
>> but I don't
On Mon, Oct 5, 2009 at 23:34, Ondrej Certik wrote:
> The only mention of the _import_array() in the documentation that I
> found is here:
>
> http://docs.scipy.org/doc/numpy/reference/c-api.array.html#NO_IMPORT_ARRAY
>
>
> but I don't understand what it means do I have to just call
> _import
On Mon, Oct 5, 2009 at 9:25 PM, Ondrej Certik wrote:
> On Mon, Oct 5, 2009 at 8:38 PM, Ondrej Certik wrote:
>> On Mon, Oct 5, 2009 at 7:34 PM, Charles R Harris
>> wrote:
>>>
>>>
>>> On Mon, Oct 5, 2009 at 7:40 PM, Ondrej Certik wrote:
>> [...]
still alive
Segmentation fault
On Mon, Oct 5, 2009 at 8:38 PM, Ondrej Certik wrote:
> On Mon, Oct 5, 2009 at 7:34 PM, Charles R Harris
> wrote:
>>
>>
>> On Mon, Oct 5, 2009 at 7:40 PM, Ondrej Certik wrote:
> [...]
>>> still alive
>>> Segmentation fault
>>>
>>>
>>>
>>> What puzzles me is that there is no debugging print statem
On Mon, Oct 5, 2009 at 7:34 PM, Charles R Harris
wrote:
>
>
> On Mon, Oct 5, 2009 at 7:40 PM, Ondrej Certik wrote:
[...]
>> still alive
>> Segmentation fault
>>
>>
>>
>> What puzzles me is that there is no debugging print statement just
>> before the segfault.
>
> Maybe you need to flush the buff
On Mon, Oct 5, 2009 at 7:40 PM, Ondrej Certik wrote:
> Hi,
>
> I am getting a segfault in PyArray_SimpleNewFromData in Cython. I am
> trying to debug it for the last 4 hours, but still absolutely no clue,
> so I am posting it here, maybe someone knows where the problem is:
>
> cdef ndarray array_
Hi,
I am getting a segfault in PyArray_SimpleNewFromData in Cython. I am
trying to debug it for the last 4 hours, but still absolutely no clue,
so I am posting it here, maybe someone knows where the problem is:
cdef ndarray array_double_c2numpy(double *A, int len):
from numpy import empty