[Scipy-tickets] [SciPy] #1745: fftconvolve crashes with 0-length input

SciPy Trac scipy-tickets@scipy....
Thu Oct 11 21:32:34 CDT 2012


#1745: fftconvolve crashes with 0-length input
--------------------------+-------------------------------------------------
 Reporter:  endolith      |       Owner:  cdavid     
     Type:  defect        |      Status:  new        
 Priority:  low           |   Milestone:  Unscheduled
Component:  scipy.signal  |     Version:  0.10.1     
 Keywords:                |  
--------------------------+-------------------------------------------------
 In Linux:

 {{{
 In [17]: fftconvolve(array([0]),array([]))
 Warning: divide by zero encountered in log2
 fish: Job 1, “ipython” terminated by signal SIGFPE (Floating point
 exception)

 }}}

 In Windows Spyder:


 {{{
 In [150]: fftconvolve(array([]),array([0]))
 __main__:160: RuntimeWarning: divide by zero encountered in log2
 }}}
 then the terminal dies

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


More information about the Scipy-tickets mailing list