Comment #2 on issue 1471 by ronan.l...@gmail.com: integrate(1/(x**3+1),(x,0,oo)) return an expression with x http://code.google.com/p/sympy/issues/detail?id=1471
What makes it fail is that >>> (atan(1/x)).nseries(x, 0, 2) Traceback (most recent call last): File "<input>", line 1, in <module> File "D:\Boulot\Projets\sympy-git\sympy\sympy\core\basic.py", line 2125, in nseries return self._eval_nseries(x, x0, n) File "D:\Boulot\Projets\sympy-git\sympy\sympy\core\function.py", line 290, in _eval_nseries raise PoleError("Cannot expand around %s" % (arg)) PoleError: Cannot expand around 1/x I've made a patch that sidesteps the issue by replacing terms of a sum by their finite limit when it can be obtained by simple substitution. Attachments: 0001-Compute-the-finite-parts-of-the-limit-of-a-sum-by-di.patch 2.2 KB -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---