Comment #2 on issue 2090 by smichr: coeff get's "maximum recursion depth
exceeded"
http://code.google.com/p/sympy/issues/detail?id=2090
This gives None in the t2 branch at github/smichr:
h[1] >>> p= 5 + 4*x + x**2
h[1] >>> p.coeff(0)
h[1] >>> p.coeff(4)
x
h[2] >>> p.coeff(1)
x**2
h[3] >>> p=4+4*x
h[3] >>> p.coeff(4)
1 + x
Another possibility I thought of is to return the numerical constant so
coeff(0) would return 5. Any thoughts?
--
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.