[SciPy-user] (no subject)
alopez at imim.es
Fri Feb 24 09:18:32 CST 2006
Great !!! Using some similar code, it was running OK on a machine
while in another was giving me a strange error.
lsoda-- repeated calls with istate = 1 and tout = t (=r1)
In above message, R1 = 0.0000000000000E+00
lsoda-- run aborted.. apparent infinite loop
Was yours similar?
At any rate, if I run
svn co http://svn.scipy.org/svn/scipy/trunk scipy
python setup.py install
I imagine I won't have these errors anymore, am I wrong?
Thanks again for your help,
Adrián López García de Lomana, Graduate Student
Computational Biochemistry and Biophysics Lab
Research Group on Biomedical Informatics (GRIB) - IMIM / UPF
c/ Dr. Aiguader, 80; 08003 Barcelona (Spain)
On Feb 24, 2006, at 1:33 PM, Travis Oliphant wrote:
> Adrián López wrote:
>> the code file is generated automatically, that was the reason for the
>> strange lines as
> Found the ultimate problem. It was not a bug in Python (it usually
> isn't). It was a bug in array scalars. The +x was causing the
> problem. This calls the C-equivalent of __pos__ which I had defined
> badly using a function that had two arguments (instead of one). The
> second argument was being filled with whatever was on the stack.
> On my
> system it just caused a funny argument error, but on yours it was
> causing a segfault.
> This should now be fixed in SVN. In the mean-time, avoid using
> +(anything that produces an array scalar like x)
> Thanks again for the good test.
> SciPy-user mailing list
> SciPy-user at scipy.net
More information about the SciPy-user