Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2856 by sat...@gmail.com: lim x^8/(x^8+1)
http://code.google.com/p/sympy/issues/detail?id=2856

import sympy
sympy.__version__
'0.7.1-git'
x = sympy.Symbol('x')
sympy.limit(x**7/(x**7+1), x, sympy.oo)
1
sympy.limit(x**8/(x**8+1), x, sympy.oo)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/admin/sympy/sympy/series/limits.py", line 192, in limit
    r = gruntz(e, z, z0, dir)
  File "/Users/admin/sympy/sympy/series/gruntz.py", line 678, in gruntz
    r = limitinf(e, z)
  File "/Users/admin/sympy/sympy/core/cache.py", line 90, in wrapper
    func_cache_it_cache[k] = r = func(*args, **kw_args)
  File "/Users/admin/sympy/sympy/series/gruntz.py", line 480, in limitinf
    c0, e0 = mrv_leadterm(e, x)
  File "/Users/admin/sympy/sympy/core/cache.py", line 90, in wrapper
    func_cache_it_cache[k] = r = func(*args, **kw_args)
File "/Users/admin/sympy/sympy/series/gruntz.py", line 563, in mrv_leadterm
    series = calculate_series(f, w, logx=logw)
File "/Users/admin/sympy/sympy/series/gruntz.py", line 526, in calculate_series
    raise ValueError('(%s).series(%s, n=8) gave no terms.' % (f, x))
ValueError: (1/(_w**8*(1 + _w**(-8)))).series(_w, n=8) gave no terms.



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

Reply via email to