[Numpy-discussion] Numpy 1.9.1, zeros and alignement

David Cournapeau cournape at gmail.com
Tue Nov 18 13:20:30 EST 2014


Hi,

I have not followed closely the changes that happen in 1.9.1, but was
surprised by the following:

x = np.zeros(12, "d")
assert x.flags.aligned # fails

This is running numpy 1.9.1 built on windows with VS 2008. Is it expected
that zeros may return a non-aligned array ?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141118/e17eb0f5/attachment.html>


More information about the NumPy-Discussion mailing list