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

New issue 2751 by [email protected]: minpoly() should use PurePoly
http://code.google.com/p/sympy/issues/detail?id=2751

minpoly() used to use Pure, but when this was removed, it was made to use a Dummy instead of PurePoly. This means that the results don't compare equal to each other.

In [1]: minpoly(sqrt(2))
Out[1]:
 2
x  - 2

In [2]: type(minpoly(sqrt(2)))
Out[2]: sympy.core.add.Add

In [3]: minpoly(sqrt(2)) == minpoly(sqrt(2))
Out[3]: False


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