Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 2591 by [email protected]: expr.as_ordered_terms("grlex")[0] gives the wrong term
http://code.google.com/p/sympy/issues/detail?id=2591

Try the following:

f = Poly(x*t**3 + t**4 + 1, x, t)
f.LM("grlex")  # corresponds to x*t**3
(1, 3)
f.as_expr().as_ordered_terms("grlex")[0]
 4
t

I haven't yet investigated why this happens. I'll update the issue when I find out more.

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