Comment #2 on issue 4132 by [email protected]: evaluating series() twice for
a generic function at a generic point fails
http://code.google.com/p/sympy/issues/detail?id=4132
I didn't pay attention on the prefactors before. All of those should be
(x-a)^n, and not x^n. This happens not only for generic functions but for
cos(x) as well, for example; and not only for generic points but for
particular points, e.g. around 1:
In [4]: cos(x).series(x,1)
Out[4]: cos(1) - x*sin(1) - x**2*cos(1)/2 + x**3*sin(1)/6 + x**4*cos(1)/24
- x**5*sin(1)/120 + O(x**6)
And the above is wrong even when evaluating the series for the first time,
not only the second time!
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.