Comment #9 on issue 51 by asmeurer: RootOf for polynomial equations
http://code.google.com/p/sympy/issues/detail?id=51

There is a strange bug in the latest polys8:

In [2]: RootOf(x**5 - x + 3, 0)
Out[2]:
      ⎛ 5           ⎞
RootOf⎝x  - x + 3, 0⎠

In [3]: A = RootsOf(x**5 - x + 3, x)

In [4]: A
Out[4]: RootsOf(Poly(x**5 - x + 3, x, domain='ZZ'))

In [6]: list(A.roots())

AttributeError: 'RootOf' object has no attribute 'expr'

In [21]: RootOf(x**5 - x + 3, 0) # Note that this worked above

AttributeError: 'RootOf' object has no attribute 'expr'


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