[Numpy-tickets] [NumPy] #950: multiply empty arrays gives nonzero result
NumPy
numpy-tickets@scipy....
Thu Nov 6 04:17:56 CST 2008
#950: multiply empty arrays gives nonzero result
------------------------+---------------------------------------------------
Reporter: pierre | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.3.0
Component: numpy.core | Version: none
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by pv):
Ok, apparently the point was that the result is nonzero for the first
case.
I note the result array is initialized with zero bytes in _dotblas.c
before calling BLAS, but it appears it might be possible that it's not
explicitly initialized in PyArray_MatrixProduct (the inner loops probably
won't run for dimensions equal 0).
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/950#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list