[SciPy-dev] Memory error in interpolate.sproot
Nils Wagner
nwagner at iam.uni-stuttgart.de
Mon Nov 10 16:23:24 EST 2008
On Mon, 10 Nov 2008 16:15:50 -0500
"Nathan Bell" <wnbell at gmail.com> wrote:
> On Mon, Nov 10, 2008 at 3:45 PM, Nils Wagner
> <nwagner at iam.uni-stuttgart.de> wrote:
>>
>> The same program works for me on my old 32bit laptop.
>>
>> Can somebody reproduce the problem on a 64-bit system ?
>>
>
> Works for me. I get a plot and the following output:
>
> $ python -i test_iterpol.py
> Warning: the number of zeros exceeds mest
I have modified "mest" an estimate of the number of zeros.
roots = sproot(tck, mest=4)
plot(roots,sin(roots),'ro')
legend(('$\sin(x)$',r'Spline',r'Zeros'))
Nils
More information about the SciPy-Dev
mailing list