[Scipy-tickets] [SciPy] #381: Bug report: scipy crashes when trying to invert empty matrix

SciPy scipy-tickets@scipy....
Tue Feb 27 12:37:20 CST 2007


#381: Bug report: scipy crashes when trying to invert empty matrix
--------------------------+-------------------------------------------------
 Reporter:  emin63        |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  normal        |   Milestone:          
Component:  scipy.linalg  |     Version:  0.5.2   
 Severity:  normal        |    Keywords:          
--------------------------+-------------------------------------------------
 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

 Process Python finished
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/381>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list