[Scipy-tickets] [SciPy] #1884: Mistake in Scipy Cookbook

SciPy Trac scipy-tickets@scipy....
Thu Apr 4 16:58:32 CDT 2013

#1884: Mistake in Scipy Cookbook
 Reporter:  hruscha  |       Owner:  somebody   
     Type:  defect   |      Status:  new        
 Priority:  normal   |   Milestone:  Unscheduled
Component:  Other    |     Version:  0.11.0     
 Keywords:           |  
 There is a mistake in the code on the page:

 Instead of
 s=np.r_[2*x[0]-x[window_len:1:-1], x, 2*x[-1]-x[-1:-window_len:-1]]
 on line 54 it should be

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

More information about the Scipy-tickets mailing list