Comment #6 on issue 2085 by nicolas.pourcelot: Limit code severely broken.
http://code.google.com/p/sympy/issues/detail?id=2085

The problem seems to be in heuristics():

from sympy.series.limits import heuristics
heuristics(1/x,x,oo,dir='+')
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File ".../sympy/series/limits.py", line 101, in heuristics
    return heuristics(e.subs(z, 1/z), z, sympify(0), "+")
  File ".../sympy/series/limits.py", line 117, in heuristics
    raise PoleError(msg % (e, z, z0, dir))
PoleError: Don't know how to calculate the limit(x, x, 0, dir=+), sorry.

heuristics(x,x,oo,dir='+')
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File ".../sympy/series/limits.py", line 101, in heuristics
    return heuristics(e.subs(z, 1/z), z, sympify(0), "+")
  File ".../sympy/series/limits.py", line 117, in heuristics
    raise PoleError(msg % (e, z, z0, dir))
PoleError: Don't know how to calculate the limit(1/x, x, 0, dir=+), sorry.


--
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