#14436: Doctest failure in sage/rings/polynomial/polynomial_element.pyx on
Solaris
--------------------------------+-------------------------------------------
Reporter: jpflori | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-5.10
Component: porting: Solaris | Keywords: solaris numerical noise
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
--------------------------------+-------------------------------------------
{{{
sage -t devel/sage/sage/rings/polynomial/polynomial_element.pyx
**********************************************************************
File "devel/sage/sage/rings/polynomial/polynomial_element.pyx", line 1054,
in sage.rings.polynomial.polynomial_element.Polynomial.inverse_mod
Failed example:
parent(poly)([ 0.0 if abs(c)<=1e-14 else c for c in poly.coeffs() ])
Expected:
1.0
Got:
1.02140518266e-14*x^2 + 1.0
**********************************************************************
1 item had failures:
1 of 16 in
sage.rings.polynomial.polynomial_element.Polynomial.inverse_mod
[1375 tests, 1 failure, 84.4 s]
----------------------------------------------------------------------
sage -t devel/sage/sage/rings/polynomial/polynomial_element.pyx # 1
doctest failed
----------------------------------------------------------------------
Total time for all tests: 88.1 seconds
cpu time: 75.4 seconds
cumulative wall time: 84.4 seconds
}}}
It looks like there is more numerical noise than expected.
Changing 1e-14 to 1e-13 might be a sensible solution.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14436>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.