Comment #1 on issue 2310 by [email protected]: improper integral and
_eval_interval
http://code.google.com/p/sympy/issues/detail?id=2310
In [ https://github.com/sympy/sympy/pull/230 ] this gives:
h[1] >>> F=1/x/(1-x)
h[1] >>> f=F.diff(x)
h[1] >>> integrate(f, (x, 1-d, d))
0
h[2] >>> integrate(f, (x, 0, 1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sympy\utilities\decorator.py", line 56, in threaded_decorator
return func(expr, *args, **kwargs)
File "sympy\integrals\integrals.py", line 789, in integrate
return integral.doit(deep = False)
File "sympy\integrals\integrals.py", line 348, in doit
function = antideriv._eval_interval(x, a, b)
File "sympy\core\expr.py", line 184, in _eval_interval
B = limit(self, x, b)
File "sympy\series\limits.py", line 185, in limit
return Add(*finite) + limit(Add(*unbounded), z, z0, dir) + u
File "sympy\series\limits.py", line 194, in limit
r = gruntz(e, z, z0, dir)
File "sympy\series\gruntz.py", line 491, in gruntz
raise LimitError(msg % (e, z, z0, dir))
sympy.series.gruntz.LimitError: Limit(1/(1 - x), x, 1, dir=real) does
not exist.
Right and left hand side limits are different
--
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.