[SciPy-user] Bugs in special

Eli Brosh ebrosh@nana.co...
Mon Apr 2 05:03:03 CDT 2007

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)
>>> y=.5+1.j
>>> y
>>> 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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070402/8233bf4f/attachment-0001.html 

More information about the SciPy-user mailing list