[SciPy-user] Bugs in special

Nils Wagner nwagner@iam.uni-stuttgart...
Mon Apr 2 05:59:59 CDT 2007


On Mon, 2 Apr 2007 13:03:03 +0300
  "Eli Brosh" <ebrosh@nana.co.il> wrote:
> Hello
> I am trying to convert from MATLAB to Python with SciPy.
> I am using Python 2.4.3 for Windows (Enthought Edition)
> As a start, I tried to use the special functions from 
>the SciPy  "special" module.
> There, I encountered some problems that may be a result 
>of bugs in SciPy.
> 
> 
> The session (in IDLE) goes like:
> 
>>>>from scipy import *
>>>> x=.5
>>>> special.jv(0,x)
> 0.938469807241
>>>> y=.5+1.j
>>>> y
> (0.5+1j)
>>>> special.jv(0,y)
>>>> ================================ RESTART 
>>>>================================
> 
> When I try to put a complex argument in special.jv, I 
>get an error message from the operating system (windows 
>XP):
> It says "pythonw.exe has encountered a problem and needs 
>to close. We are sorry for the inconvenience."
> 
> The IDLE does not close but it is restarted:
> There appears a line: 
>>>> ================================ RESTART 
>>>>================================
> 
> This does not occur when the argument of special.jv is 
>real.
> 
> However, even real arguments in special.ber and 
>special.ker provoked the same crash and the same error 
>message.
> 
> 
> 
> Is this a bug in SciPy or am I doing something wrong ?
> 
> 
> Thanks
> Eli
> 
See the tickets

http://projects.scipy.org/scipy/scipy/ticket/301

http://projects.scipy.org/scipy/scipy/ticket/387

Nils
  


More information about the SciPy-user mailing list