Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1333 by ulrik.sverdrup: Integral(x,x).series(x) raises TypeError
http://code.google.com/p/sympy/issues/detail?id=1333
Tested using git ccedb6d (21 march 2009)
Expected result:
Similar to this case:
In [17]: Integral(sin(x),x).series(x)
Out[17]:
2 4 6
x x x
── - ── + ─── + O(x**7)
2 24 720
Actual results:
In [16]: Integral(x,x).series(x)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/ulrik/pt/src/sympy/<ipython console> in <module>()
/home/ulrik/pt/src/sympy/sympy/core/basic.pyc in series(self, x, point, n,
dir)
2037 point = sympify(point)
2038 if dir == "+":
-> 2039 return self.nseries(x, point, n)
2040 elif dir == "-":
2041 return self.subs(x, -x).nseries(x, -point, n).subs(x,
-x)
/home/ulrik/pt/src/sympy/sympy/core/basic.pyc in nseries(self, x, x0, n)
2104 See also lseries().
2105 """
-> 2106 return self._eval_nseries(x, x0, n)
2107
2108 def _eval_nseries(self, x, x0, n):
/home/ulrik/pt/src/sympy/sympy/integrals/integrals.pyc in
_eval_nseries(self, x, x0, n)
331 return integrate(arg.removeO(), (x, a, b)) +
arg.getO()*x
332 else:
--> 333 return integrate(arg.removeO(), x) + arg.getO()*x
334
335 @threaded(use_add=False)
TypeError: unsupported operand type(s) for *: 'NoneType' and 'Symbol'
--
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
-~----------~----~----~----~------~----~------~--~---