What CPU do you have and which version of numpy did you get and where did you get it from ?<br><br>Matthieu<br><br><div><span class="gmail_quote">2007/11/17, Jesus Torrecilla Pinero <<a href="mailto:jtorrecilla@gmail.com">
jtorrecilla@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am using Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) under Windows XP and converting a program from Numeric to Numpy. If I have two arrays, say K and T and do dot(K,T) or K*T everything goes well, but if I have a vector b and try dot(K,b) or K*b I get a segfault.
<br><br>I have tried to run the test in tes_numeric.py and get the same result.<br><br>I have tried too to convert b in a matrix with two columns, the second one being all zeroes, and numpy makes the multiplication correctly, so I think the problem is just with vectors
<br><br>Does this happens with other versions or do you have any idea to fix this problem?<br><br>Thanks in advance<br clear="all"><span class="sg"><br>-- <br>Jesús Torrecilla Pinero<br>Universidad de Extremadura<br>jtorrecilla at 
<a href="http://utcsl.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

utcsl.com</a><br>jtorreci at <a href="http://unex.es" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">unex.es</a>
</span><br>_______________________________________________<br>Numpy-discussion mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Numpy-discussion@scipy.org">Numpy-discussion@scipy.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://projects.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://projects.scipy.org/mailman/listinfo/numpy-discussion</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>French PhD student<br>Website : <a href="http://miles.developpez.com/">http://miles.developpez.com/</a><br>Blogs : <a href="http://matt.eifelle.com">http://matt.eifelle.com</a> and <a href="http://blog.developpez.com/?blog=92">
http://blog.developpez.com/?blog=92</a><br>LinkedIn : <a href="http://www.linkedin.com/in/matthieubrucher">http://www.linkedin.com/in/matthieubrucher</a>