Updates:
Labels: NeedsReview
Comment #1 on issue 1944 by [email protected]: limit() returns incorrect
answer for limit(exp(-x/a), x, oo)
http://code.google.com/p/sympy/issues/detail?id=1944
commit 1944 in [ https://github.com/sympy/sympy/pull/61 ] this is now the
behavior:
h[2] >>> limit(exp(-x/a),x,oo)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sympy\series\limits.py", line 144, in limit
r = gruntz(e, z, z0, dir)
File "sympy\series\gruntz.py", line 428, in gruntz
return limitinf(e, z)
File "sympy\series\gruntz.py", line 338, in limitinf
c0, e0 = mrv_leadterm(e,x)
File "sympy\series\gruntz.py", line 390, in mrv_leadterm
Omega = mrv(e,x)
File "sympy\series\gruntz.py", line 218, in mrv
if limitinf(e.args[0], x) in [oo,-oo]:
File "sympy\series\gruntz.py", line 344, in limitinf
s = sign(c0, x)
File "sympy\series\gruntz.py", line 329, in sign
raise ValueError("Cannot determine the sign of %s" % e)
ValueError: Cannot determine the sign of -1/a
--
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.