<div dir="ltr">Yeah, sorry for the confusion. I thought my email didn't go through. I created a bug report on github instead. Now I find the email was indeed sent. Sorry about that. Looking at the github activity (see <a href="https://github.com/numpy/numpy/issues/3977">https://github.com/numpy/numpy/issues/3977</a> ), I think a fix is almost at hand thanks to Julian Taylor.<div>
<br></div><div>Best,</div><div>Andrew</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 7:52 PM, Nathaniel Smith <span dir="ltr"><<a href="mailto:njs@pobox.com" target="_blank">njs@pobox.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">It's py3 only, see the discussion in #3977.</p>
<div class="gmail_quote"><div><div class="h5">On 25 Oct 2013 17:45, "Charles R Harris" <<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>> wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 7:07 AM, Andrew Straw <span dir="ltr"><<a href="mailto:dr.andrew.straw@gmail.com" target="_blank">dr.andrew.straw@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">Hi,</p>
<p dir="ltr">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:</p>
<p dir="ltr">import numpy as np<br>
print(np.__version__)<br>
K = np.array([[ 0.        ,  0.        ,  0.        ,  0.        ],<br>
              [-0.33333333,  0.        ,  0.        ,  0.        ],<br>
              [ 0.33333333, -0.33333333,  0.        ,  0.        ],<br>
              [ 0.33333333, -0.33333333,  0.33333333,  0.        ]])<br>
w, V = np.linalg.eigh(K)<br>
print('w')<br>
print(w)</p>
<p dir="ltr">with numpy 1.7.1:</p>
<p dir="ltr">1.7.1<br>
w<br>
[-0.33333333 -0.33333333 -0.33333333  0.99999999]</p>
<p dir="ltr">with numpy 1.8.0rc2:</p>
<p dir="ltr">1.8.0rc2<br>
w<br>
[ 0.  0.  0.  0.]</p></blockquote><div><br></div><div>This appears to have gotten fixed since rc2:<br><br>In [1]: K = np.array([[ 0.        ,  0.        ,  0.        ,  0.        ],<br>              [-0.33333333,  0.        ,  0.        ,  0.        ],<br>


              [ 0.33333333, -0.33333333,  0.        ,  0.        ],<br>              [ 0.33333333, -0.33333333,  0.33333333,  0.        ]])<br><br>In [2]: eigh(K)<br>Out[2]: <br>(array([-0.33333333, -0.33333333, -0.33333333,  0.99999999]),<br>


 array([[-0.78251031,  0.37104402,  0.00198815,  0.5       ],<br>       [-0.29974269,  0.03728557,  0.81164285, -0.5       ],<br>       [ 0.54246491,  0.46764373,  0.48686874,  0.5       ],<br>       [-0.05969728, -0.80140218,  0.32278596,  0.5       ]]))<br>


<br>In [3]: np.__version__<br>Out[3]: '1.8.0.dev-ced0a94'<br><br></div><div>Could you try the current 1.8.x version on github and see if the problem persists?<br><br></div><div>Chuck<br></div><div> <br></div></div>


</div></div>
<br></div></div><div class="im">_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></div></blockquote></div>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>