Ticket #5026 (closed defect: fixed)
[with patch, positive review] numerical noise doctest failure in rings/polynomial/complex_roots.py
| Reported by: | mhampton | Owned by: | craigcitro |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.3 |
| Component: | numerical | Keywords: | complex roots, polynomial |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
On sage-3.3.alpha0 I get this doctest failure on an intel mac:
**********************************************************************
File ".../devel/sage/sage/rings/polynomial/complex_roots.py", line
270:
sage: complex_roots(x^2 + 27*x + 181)
Expected:
[(-14.61803398874990?..., 1), (-12.38196601125010? + 0.?e-27*I,
1)]
Got:
[(-14.61803398874990? + 0.?e-27*I, 1), (-12.38196601125011? + 0.?
e-27*I, 1)]
**********************************************************************
Attachments
Change History
comment:1 Changed 4 years ago by craigcitro
- Owner changed from jkantor to craigcitro
- Status changed from new to assigned
- Summary changed from numerical noise doctest failure in rings/polynomial/complex_roots.py to [with patch, needs review] numerical noise doctest failure in rings/polynomial/complex_roots.py
Attached patch fixes the doctest.
Note: See
TracTickets for help on using
tickets.

