Status: Accepted
Owner: ness...@googlemail.com
Labels: Type-Defect Priority-Medium Series
New issue 2641 by ness...@googlemail.com: limit() heuristics are wrong
http://code.google.com/p/sympy/issues/detail?id=2641
In [10]: limit(log(x)/z - log(2*x)/z, x, 0)
Out[10]:
2⋅zoo
─────
z
In [11]: gruntz(log(x)/z - log(2*x)/z, x, 0)
Out[11]:
-log(2)
───────
z
Basically zoo/z + zoo/z is turned into 2*zoo/z instead of nan, and then
limit() does not recognise that it should call gruntz.
So either somehow zoo/z + zoo/z has to become nan, or limit() must be
prepared to recognise such situations (my guess is the latter).
--
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.