[Numpy-discussion] nasty bug in 1.8.0??

Frédéric Bastien nouiz at nouiz.org
Mon Dec 2 14:19:22 EST 2013


It is the NPY_RELAXED_STRIDES_CHECKING=1 flag that caused this.

Fred

On Mon, Dec 2, 2013 at 2:18 PM, Neal Becker <ndbecker2 at gmail.com> wrote:
> I built using:
>
> CFLAGS='-march=native -O3' NPY_RELAXED_STRIDES_CHECKING=1 python3 setup.py
> install --user
>
>
> aπid wrote:
>
>> I get:
>>
>> In [4]: x.strides
>> Out[4]: (8,)
>>
>> Same architecture and OS, Numpy installed via Pip on Python 2.7.5.
>>
>>
>> On 2 December 2013 20:08, Neal Becker <ndbecker2 at gmail.com> wrote:
>>
>>> This is np 1.8.0 on fedora x86_64:
>>>
>>> In [5]: x =np.array ((1,))
>>>
>>> In [6]: x.shape
>>> Out[6]: (1,)
>>>
>>> In [7]: x.strides
>>> Out[7]: (9223372036854775807,)
>>>
>>> _______________________________________________
>>> NumPy-Discussion mailing list
>>> NumPy-Discussion at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion



More information about the NumPy-Discussion mailing list