[SciPy-dev] Memory error in interpolate.sproot

Nils Wagner nwagner@iam.uni-stuttgart...
Mon Nov 10 15:23:24 CST 2008


On Mon, 10 Nov 2008 16:15:50 -0500
  "Nathan Bell" <wnbell@gmail.com> wrote:
> On Mon, Nov 10, 2008 at 3:45 PM, Nils Wagner
> <nwagner@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