Ticket #1336 (closed defect: fixed)
[with patch, with positive review] 2.8.14/Linux PPC: rings/polynomial/polynomial_element.pyx doctest failure
| Reported by: | mabshoff | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.8.15 |
| Component: | doctest coverage | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
On Linux PPC the following doctest fails due to numerical noise:
File "polynomial_element.pyx", line 2371:
sage: f.roots(multiplicities=False)
Expected:
[-1.6772670339941..., 0.199954796285..., 0.200045306115..., 1.5763035161844...]
Got:
[-1.67726703399418, 0.199954796284890, 0.200045306115409, 1.57630351618444]
The attached patch fixes that.
Cheers,
Michael
Attachments
Change History
Changed 5 years ago by mabshoff
-
attachment
Sage-2.8.14-polynomial_element-doctest-fix-PPCLinux.patch
added
Note: See
TracTickets for help on using
tickets.
