Status: Accepted
Owner: ondrej.certik
Labels: Type-Defect Priority-Medium

New issue 1606 by ondrej.certik: as_sum() is not working
http://code.google.com/p/sympy/issues/detail?id=1606

In [1]: e = Integral(1/(x**4+1), x)

In [2]: e.as_sum(4)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/tmp/sympy-0.6.5/<ipython console> in <module>()

/tmp/sympy-0.6.5/sympy/integrals/integrals.pyc in as_sum(self, n, method)
     418             raise NotImplementedError("Infinite summation not yet
implemented")
     419         sym, limits = self.args[1][0]
--> 420         dx = (limits[1]-limits[0])/n
     421         result = 0.
     422         for i in range(n):

TypeError: 'NoneType' object is unsubscriptable


--
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 [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-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to