[Scipy-tickets] [SciPy] #1110: Mysterious 'end' in ss2tf in ltisys.py

SciPy Trac scipy-tickets@scipy....
Sun Feb 7 16:07:09 CST 2010


#1110: Mysterious 'end' in ss2tf in ltisys.py
--------------------+-------------------------------------------------------
 Reporter:  warren  |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  0.8.0   
Component:  Other   |     Version:  0.7.0   
 Keywords:          |  
--------------------+-------------------------------------------------------
 pyflakes found this
 {{{
 $ pyflakes ltisys.py
 ltisys.py:145: undefined name 'end'
 $
 }}}
 Here's the code, from ss2tf() in ltisys.py:
 {{{
     if (product(B.shape,axis=0) == 0) and (product(C.shape,axis=0) == 0):
         num = numpy.ravel(D)
         if (product(D.shape,axis=0) == 0) and (product(A.shape,axis=0) ==
 0):
             den = []
         end
         return num, den
 }}}

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


More information about the Scipy-tickets mailing list