Issue 1158: regression: roots of polys
http://code.google.com/p/sympy/issues/detail?id=1158

New issue report by goriccardo:
The new Poly class introduced some regressions on roots function.

e.g:

This doesn't works:

In [1]: p1 = ((x-2)*(x+3)*(x-4)).expand()

In [2]: p1
Out[2]:
                2    3
24 - 10⋅x - 3⋅x  + x

In [3]: roots(p1,x)
Out[3]: {}

This works:

In [4]: p2 = ((x-1)*(x+3)*(x-4)).expand()

In [5]: p2
Out[5]:
                2    3
12 - 11⋅x - 2⋅x  + x

In [6]: roots(p2,x)
Out[6]: {1: 1, -3: 1, 4: 1}


Issue attributes:
        Status: Accepted
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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