[Scipy-tickets] [SciPy] #1257: scipy.sparse.linalg.isolve.utils.make_system raises wrong error

SciPy Trac scipy-tickets@scipy....
Mon Aug 9 10:02:10 CDT 2010


#1257: scipy.sparse.linalg.isolve.utils.make_system raises wrong error
---------------------------------+------------------------------------------
 Reporter:  klemm                |       Owner:  wnbell
     Type:  defect               |      Status:  new   
 Priority:  low                  |   Milestone:  0.9.0 
Component:  scipy.sparse.linalg  |     Version:  0.7.0 
 Keywords:  utils                |  
---------------------------------+------------------------------------------
 Just a tiny thing:

 scipy.sparse.linalg.utils.make_system(zeros((5,3)),None,zeros(4),zeros(4))

 raises not as expected a ValueError, because the first matrix is not
 square, but a NameError, because the parameter shape in the error message
 is undefined.

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


More information about the Scipy-tickets mailing list