[Scipy-tickets] [SciPy] #359: linalg.qmr TypeError: unsubscriptable object

SciPy scipy-tickets at scipy.net
Wed Jan 24 09:51:20 CST 2007


#359: linalg.qmr TypeError: unsubscriptable object
--------------------------+-------------------------------------------------
 Reporter:  nils          |       Owner:  somebody     
     Type:  defect        |      Status:  new          
 Priority:  normal        |   Milestone:  0.5.3 Release
Component:  scipy.linalg  |     Version:  devel        
 Severity:  normal        |    Keywords:               
--------------------------+-------------------------------------------------
 The test yields

 {{{
 Traceback (most recent call last):
   File "test_qmr.py", line 14, in ?
     x,info = linalg.qmr(A,b,x0,tol=1.e-9,callback=callback)
   File "/usr/lib64/python2.4/site-packages/scipy/linalg/iterative.py",
 line 769, in qmr
     work[slice2] += sclr1*rmatvec(work[slice1])
   File "/usr/lib64/python2.4/site-packages/scipy/linalg/iterative.py",
 line 50, in __call__
     return self.callfunc(x)
   File "/usr/lib64/python2.4/site-packages/scipy/linalg/iterative.py",
 line 59, in type2
     return self.obj(x,*self.args)
   File "/usr/lib64/python2.4/site-packages/scipy/sparse/sparse.py", line
 954, in rmatvec
     return _cs_matrix._rmatvec(self, other, shape[1], shape[0], cscmux,
 conjugate=conjugate)
 TypeError: unsubscriptable object
 }}}

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


More information about the Scipy-tickets mailing list