[NumPy-Tickets] [NumPy] #2154: numpy.dot(a, b, a) gives an incorrect result for a
NumPy Trac
numpy-tickets@scipy....
Thu Jun 7 21:29:20 CDT 2012
#2154: numpy.dot(a, b, a) gives an incorrect result for a
------------------------+---------------------------------------------------
Reporter: ktdrv | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: 1.6.1
Keywords: |
------------------------+---------------------------------------------------
Unless this is expected but undocumented behavior, trying to dot product
an array in-place, results in a broken result:
{{{
>>> a = arange(1, 10, dtype = float64).reshape(3, 3)
>>> a
array([[ 1., 2., 3.],
[ 4., 5., 6.],
[ 7., 8., 9.]])
>>> dot(a, identity(3), a)
array([[ 0., 2., 3.],
[ 4., 5., 6.],
[ 7., 8., 9.]])
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2154>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list