[Numpy-tickets] [NumPy] #557: pinv sefgaults with empty arrays
NumPy
numpy-tickets@scipy....
Thu Jul 26 05:37:30 CDT 2007
#557: pinv sefgaults with empty arrays
--------------------------+-------------------------------------------------
Reporter: cdavid | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: numpy.linalg | Version: none
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
This is a copy of ticket 381 from scipy:
"When I create an empty matrix and ask for the .I attribute, scipy
crashes. I think this operation should raise an exception not crash scipy.
Details are below."
{{{
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> scipy.version.version
'0.5.2'
>>> scipy.version.release
True
>>> x = scipy.matrix([])
>>> x.I
** On entry to DGESDD parameter number 10 had an illegal value
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/557>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list