[SciPy-user] small bug in filter_design.py

Stefan van der Walt stefan at sun.ac.za
Tue Sep 5 19:47:33 CDT 2006


On Tue, Sep 05, 2006 at 02:29:10PM -0400, Scott Ransom wrote:
> Hi All,
> 
> There is a small bug in the initial conditions parameter in ellipap() in 
> the filter_design.py module:
> 
> File "/users/sransom/lib/python2.3/site-packages/scipy/signal/filter_design.py",
> line 1049, in ellipap
>     disp=0)
> File "/users/sransom/lib/python2.3/site-packages/scipy/optimize/optimize.py",
> line 140, in fmin
>     N = len(x0)
> TypeError: len() of unsized object

Fixed in SVN.  Would you mind writing a test to see whether ellipap
gives the correct answer?

Thanks
Stéfan


More information about the SciPy-user mailing list