[SciPy-user] Strange behaviour of dot function

Travis Oliphant oliphant.travis at ieee.org
Tue Jan 31 08:55:17 CST 2006

Johannes Löhnert wrote:

>I just found out that the dot function which multiplies matrices gives
>strange results for a 3-dimensional array. Consider the following example:
You just found two bugs in numpy.dot one of which is also there in 

I just committed a fix to both bugs by using the ever-useful N-d array 
iterator (it sure makes it easier to write algorithms for strided 

All three of your tests now produce the same answer.   Thank you for 
finding this problem. 


More information about the SciPy-user mailing list