Updates:
        Labels: WrongResult

Comment #5 on issue 2073 by [email protected]: limit() throws TypeError: an integer is required
http://code.google.com/p/sympy/issues/detail?id=2073

Now limit is working, but gruntz fails:

In [9]: n = Symbol('n')
In [10]: r = Symbol('r', positive=True)
In [11]: c = Symbol('c')
In [12]: p = Symbol('p', positive=True)
In [13]: m = Symbol('m', negative=True)
In [14]: expr = ((2*n*(n - r + 1)/(n + r*(n - r + 1)))**c + \
....: (r - 1)*(n*(n - r + 2)/(n + r*(n - r + 1)))**c - n)/(n**c - n)
In [15]: expr = expr.subs(c, c + 1)
In [16]: gruntz(expr, n, oo)
Out[16]: 1
In [17]: gruntz(expr.subs(c, p), n, oo)
Out[17]: 1

Tests:
https://github.com/sympy/sympy/pull/2326

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to