Ticket #1100 (closed defect: fixed)
[with patch] polynomial roots() method can return rational roots for polynomials over ZZ
| Reported by: | cwitty | Owned by: | cwitty |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.8.12 |
| Component: | basic arithmetic | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
According to the documentation, .roots() is only supposed to return values from the base ring, so this is a bug:
sage: x = polygen(ZZ) sage: f = 2*x-3 sage: f.roots() [(3/2, 1)]
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

