Updates:
Status: Invalid
Comment #1 on issue 2591 by matt...@gmail.com:
expr.as_ordered_terms("grlex")[0] gives the wrong term
http://code.google.com/p/sympy/issues/detail?id=2591
This is actually not a bug, because in the first case x > t, but in the
other t > x:
In [1]: f = Poly
Status: Accepted
Owner: j.yehde...@gmail.com
Labels: Type-Defect Priority-Medium
New issue 2591 by j.yehde...@gmail.com: 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("grl