Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium Series WrongResult

New issue 3136 by [email protected]: Series of ((N - 1)**D + 1)/(N**D - 1) fails
http://code.google.com/p/sympy/issues/detail?id=3136

Simple issue:

In [32]: D = Symbol("D")

In [33]: N = Symbol("N")

In [34]: series(((N - 1)**D + 1)/(N**D - 1), x=N)
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
/home/raoul/<ipython-input-34-422bace3104b> in <module>()
----> 1 series(((N - 1)**D + 1)/(N**D - 1), x=N)

/home/raoul/python/sympy/series/series.pyc in series(expr, x, x0, n, dir)
      6     """
      7     expr = sympify(expr)
----> 8     return expr.series(x, x0, n, dir)

/home/raoul/python/sympy/core/expr.pyc in series(self, x, x0, n, dir)
   2201             if o:
   2202                 # make sure the requested order is returned

-> 2203                 ngot = o.getn()
   2204                 if ngot > n:
2205 # leave o in its current form (e.g. with x*log(x)) so


/home/raoul/python/sympy/core/expr.pyc in getn(self)
    771                                 return abs(oi.exp)
    772
--> 773         raise NotImplementedError('not sure of order of %s' % o)
    774
    775     def count_ops(self, visual=None):

NotImplementedError: not sure of order of 2/log(N)**6


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