I've created an issue for this one http://code.google.com/p/sympy/issues/detail?id=2837&thanks=2837&ts=1320876163
On 9 November 2011 20:23, [email protected] < [email protected]> wrote: > 2011/11/9 Ondřej Čertík <[email protected]> > >> On Wed, Nov 9, 2011 at 7:46 AM, [email protected] >> <[email protected]> wrote: >> > In [21]: s = summation(k**(-2.1), (k, 1, oo)) >> > In [23]: %timeit s.evalf() >> > 1 loops, best of 3: 196 ms per loop >> > >> > In [24]: s = summation(k**(-x), (k, 1, oo)) >> > In [26]: %timeit s.evalf(subs={x : 2.1}) >> > still calculating >> > >> > This seems like a bug? >> >> What happens if you do: >> >> s.subs({x: 2.1}).evalf() >> >> ? >> >> > it works > In [3]: %timeit s.subs({x : 2.1}).evalf() > 1 loops, best of 3: 195 ms per loop > > > >> Ondrej >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/sympy?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
