[Numpy-discussion] NumPy 1.8.0rc2 release

Andrew Straw dr.andrew.straw at gmail.com
Fri Oct 25 09:07:12 EDT 2013


Hi,

I found an unexpected difference from numpy 1.7.1 and 1.8.0rc2 with Python
3.3.2 on Ubuntu 12.04 (amd64). Here is the test program:

import numpy as np
print(np.__version__)
K = np.array([[ 0.        ,  0.        ,  0.        ,  0.        ],
              [-0.33333333,  0.        ,  0.        ,  0.        ],
              [ 0.33333333, -0.33333333,  0.        ,  0.        ],
              [ 0.33333333, -0.33333333,  0.33333333,  0.        ]])
w, V = np.linalg.eigh(K)
print('w')
print(w)

with numpy 1.7.1:

1.7.1
w
[-0.33333333 -0.33333333 -0.33333333  0.99999999]

with numpy 1.8.0rc2:

1.8.0rc2
w
[ 0.  0.  0.  0.]

Apologies if this is my mistake!
-Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131025/52dcbe9e/attachment.html>


More information about the NumPy-Discussion mailing list