[Scipy-tickets] [SciPy] #336: firwin uses bad sum()

SciPy scipy-tickets at scipy.net
Thu Dec 21 13:36:30 CST 2006

#336: firwin uses bad sum()
 Reporter:  MatthewZimmerman  |       Owner:  somebody
     Type:  defect            |      Status:  new     
 Priority:  normal            |   Milestone:          
Component:  scipy.signal      |     Version:          
 Severity:  major             |    Keywords:          
 In Scipy 0.5.2 with Numpy 1.0.1 scipy.signal.firwin() and
 scipy.signal.filter_design.firwin() throw an exception.

 firwin() uses a call to sum(h,axis=0) but the version of sum() that gets
 call does not support keyword attributes. I salved this problem by adding
 sum to the numpy import statement like this:
 from numpy import atleast_1d, poly, polyval, roots, imag, real, asarray,\
      allclose, resize, pi, concatenate, absolute, logspace, sum

 I don't know how to submit a patch so I haven't.

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

More information about the Scipy-tickets mailing list