I have these doctest failures (fresh build of vanilla 6.4.beta6 from the
git repo) that appear to be precision related:
sage -t --long src/sage/rings/polynomial/polynomial_element.pyx
**********************************************************************
File "src/sage/rings/polynomial/polynomial_element.pyx", line 5360, in
sage.rings.polynomial.polynomial_element.Polynomial.roots
Failed example:
[f(z) for z in f.roots(multiplicities=False)] # abs tol 1e-12
Expected:
[1.3704315460216776e-15 + 3.3306690738754696e-15*I,
5.287107591627866e-16 + 1.9984014443252818e-15*I, 2.0616104309811867e-16 +
1.7763568394002505e-15*I]
Got:
[1.1102230246251565e-16 - 8.881784197001252e-16*I,
-8.728374398092689e-16,
7.771561172376096e-16 + 6.661338147750939e-16*I]
**********************************************************************
sage -t --long src/sage/tests/french_book/mpoly.py
**********************************************************************
File "src/sage/tests/french_book/mpoly.py", line 364, in
sage.tests.french_book.mpoly
Failed example:
ys = CDF['y'](Jy.0).roots(); ys
Expected:
[(-0.8000000000000002, 1), (0.0, 1), (0.8, 1)]
Got:
[(-0.8, 1), (0.0, 1), (0.7999999999999997, 1)]
************************************************************************
sage -t --long src/sage/matrix/matrix_double_dense.pyx
File "src/sage/matrix/matrix_double_dense.pyx", line 1012, in
sage.matrix.matrix_double_dense.Matrix_double_dense.singular_values
Failed example:
A.singular_values(eps=None) # abs tol 2e-16
Expected:
[1.7953720595619975, 0.38027524595503703, 0.04473854875218107,
0.0037223122378911614, 0.0002330890890217751, 1.116335748323284e-05,
4.082376110397296e-07, 1.1228610675717613e
-08, 2.2519645713496478e-10, 3.1113486853814003e-12,
2.6500422260778388e-14, 9.87312834948426e-17]
Got:
[1.795372059561997,
0.3802752459550371,
0.04473854875218108,
0.0037223122378911614,
0.00023308908902177134,
1.1163357483233473e-05,
4.0823761103887333e-07,
1.1228610666951528e-08,
2.2519645134867946e-10,
3.1113495994353857e-12,
2.649222799410179e-14,
1.0793843611330301e-16]
Tolerance exceeded in 1 of 12:
1.7953720595619975 vs 1.795372059561997, tolerance 5e-16 > 2e-16
**********************************************************************
File "src/sage/matrix/matrix_double_dense.pyx", line 1014, in
sage.matrix.matrix_double_dense.Matrix_double_dense.singular_values
Failed example:
A.singular_values(eps='auto') # abs tol 2e-16
Expected:
[1.7953720595619975, 0.38027524595503703, 0.04473854875218107,
0.0037223122378911614, 0.0002330890890217751, 1.116335748323284e-05,
4.082376110397296e-07, 1.1228610675717613e
-08, 2.2519645713496478e-10, 3.1113486853814003e-12,
2.6500422260778388e-14, 0.0]
Got:
[1.795372059561997,
0.3802752459550371,
0.04473854875218108,
0.0037223122378911614,
0.00023308908902177134,
1.1163357483233473e-05,
4.0823761103887333e-07,
1.1228610666951528e-08,
2.2519645134867946e-10,
3.1113495994353857e-12,
2.649222799410179e-14,
0.0]
Tolerance exceeded in 1 of 12:
1.7953720595619975 vs 1.795372059561997, tolerance 5e-16 > 2e-16
**********************************************************************
File "src/sage/matrix/matrix_double_dense.pyx", line 1016, in
sage.matrix.matrix_double_dense.Matrix_double_dense.singular_values
Failed example:
A.singular_values(eps=1e-4) # abs tol 2e-16
Expected:
[1.7953720595619975, 0.38027524595503703, 0.04473854875218107,
0.0037223122378911614, 0.0002330890890217751, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0]
Got:
[1.795372059561997,
0.3802752459550371,
0.04473854875218108,
0.0037223122378911614,
0.00023308908902177134,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0]
Tolerance exceeded in 1 of 12:
1.7953720595619975 vs 1.795372059561997, tolerance 5e-16 > 2e-16
******************************************************************************************************************************************
sage -t --long src/doc/ru/tutorial/tour_linalg.rst
**********************************************************************
File "src/doc/ru/tutorial/tour_linalg.rst", line 109, in
doc.ru.tutorial.tour_linalg
Failed example:
ARDF.eigenvalues()
Expected:
[-0.09317121994613098, 4.293171219946131]
Got:
[-0.09317121994613091, 4.293171219946131]
**********************************************************************
File "src/doc/ru/tutorial/tour_linalg.rst", line 112, in
doc.ru.tutorial.tour_linalg
Failed example:
ACDF.eigenvectors_right() # rel tol 1e-15
Expected:
[(0.8818456983293743 - 0.8209140653434135*I, [(0.7505608183809549,
-0.616145932704589 + 0.2387941530333261*I)], 1),
(3.3181543016706256 + 0.8209140653434133*I, [(0.14559469829270957 +
0.3756690858502104*I, 0.9152458258662108)], 1)]
Got:
[(0.8818456983293741 - 0.8209140653434133*I,
[(0.7505608183809549, -0.6161459327045887 + 0.23879415303332602*I)],
1),
(3.3181543016706256 + 0.8209140653434132*I,
[(0.14559469829270977 + 0.3756690858502104*I, 0.9152458258662107)],
1)]
Tolerance exceeded in 1 of 12:
0.14559469829270957 vs 0.14559469829270977, tolerance 1e-15 > 1e-15
**********************************************************************
sage -t --long src/doc/de/tutorial/tour_linalg.rst
**********************************************************************
File "src/doc/de/tutorial/tour_linalg.rst", line 117, in
doc.de.tutorial.tour_linalg
Failed example:
ARDF.eigenvalues()
Expected:
[-0.09317121994613098, 4.293171219946131]
Got:
[-0.09317121994613091, 4.293171219946131]
**********************************************************************
File "src/doc/de/tutorial/tour_linalg.rst", line 120, in
doc.de.tutorial.tour_linalg
Failed example:
ACDF.eigenvectors_right() # rel tol 1e-15
Expected:
[(0.8818456983293743 - 0.8209140653434135*I, [(0.7505608183809549,
-0.616145932704589 + 0.2387941530333261*I)], 1),
(3.3181543016706256 + 0.8209140653434133*I, [(0.14559469829270957 +
0.3756690858502104*I, 0.9152458258662108)], 1)]
Got:
[(0.8818456983293741 - 0.8209140653434133*I,
[(0.7505608183809549, -0.6161459327045887 + 0.23879415303332602*I)],
1),
(3.3181543016706256 + 0.8209140653434132*I,
[(0.14559469829270977 + 0.3756690858502104*I, 0.9152458258662107)],
1)]
Tolerance exceeded in 1 of 12:
0.14559469829270957 vs 0.14559469829270977, tolerance 1e-15 > 1e-15
**********************************************************************
sage -t --long src/doc/fr/tutorial/tour_linalg.rst
**********************************************************************
File "src/doc/fr/tutorial/tour_linalg.rst", line 115, in
doc.fr.tutorial.tour_linalg
Failed example:
ARDF.eigenvalues()
Expected:
[-0.09317121994613098, 4.293171219946131]
Got:
[-0.09317121994613091, 4.293171219946131]
**********************************************************************
File "src/doc/fr/tutorial/tour_linalg.rst", line 118, in
doc.fr.tutorial.tour_linalg
Failed example:
ACDF.eigenvectors_right() # rel tol 1e-15
Expected:
[(0.8818456983293743 - 0.8209140653434135*I, [(0.7505608183809549,
-0.616145932704589 + 0.2387941530333261*I)], 1),
(3.3181543016706256 + 0.8209140653434133*I, [(0.14559469829270957 +
0.3756690858502104*I, 0.9152458258662108)], 1)]
Got:
[(0.8818456983293741 - 0.8209140653434133*I,
[(0.7505608183809549, -0.6161459327045887 + 0.23879415303332602*I)],
1),
(3.3181543016706256 + 0.8209140653434132*I,
[(0.14559469829270977 + 0.3756690858502104*I, 0.9152458258662107)],
1)]
Tolerance exceeded in 1 of 12:
0.14559469829270957 vs 0.14559469829270977, tolerance 1e-15 > 1e-15
**********************************************************************
sage -t --long src/doc/en/tutorial/tour_linalg.rst
**********************************************************************
File "src/doc/en/tutorial/tour_linalg.rst", line 114, in
doc.en.tutorial.tour_linalg
Failed example:
ARDF.eigenvalues()
Expected:
[-0.09317121994613098, 4.293171219946131]
Got:
[-0.09317121994613091, 4.293171219946131]
**********************************************************************
File "src/doc/en/tutorial/tour_linalg.rst", line 117, in
doc.en.tutorial.tour_linalg
Failed example:
ACDF.eigenvectors_right() # rel tol 1e-15
Expected:
[(0.8818456983293743 - 0.8209140653434135*I, [(0.7505608183809549,
-0.616145932704589 + 0.2387941530333261*I)], 1),
(3.3181543016706256 + 0.8209140653434133*I, [(0.14559469829270957 +
0.3756690858502104*I, 0.9152458258662108)], 1)]
Got:
[(0.8818456983293741 - 0.8209140653434133*I,
[(0.7505608183809549, -0.6161459327045887 + 0.23879415303332602*I)],
1),
(3.3181543016706256 + 0.8209140653434132*I,
[(0.14559469829270977 + 0.3756690858502104*I, 0.9152458258662107)],
1)]
Tolerance exceeded in 1 of 12:
0.14559469829270957 vs 0.14559469829270977, tolerance 1e-15 > 1e-15
**********************************************************************
Curiously, my sage-on-gentoo build, that pulls from the same repo, does not
have these failures.
On Tuesday, October 14, 2014 3:09:23 PM UTC-5, Volker Braun wrote:
>
> Quick update mainly to fix the Python compilation issue.
>
> Git "develop" branch or
> http://sage.sagedev.org/home/release/sage-6.4.beta6.tar.gz
>
> Mini-changelog:
>
> 36c150e Updated Sage version to 6.4.beta6
> 67235a8 Trac #17144: Update to flint-2.4.4
> 7fd6e66 Trac #17145: Tornado depends on setuptools
> b999896 Trac #13679: Build sphinx docs for a single file
> 104c68f Trac #17111: Sage is missing one letter
> 86cbffe Trac #15987: Python 3 preparation: Change syntax of octal integer
> literals
> fecafe1 Trac #17094: Fix memleaks and brokenness of non-FLINT methods
> after #16803
> 2fc399e Trac #16996: IPython notebook with Sage Extensions
> e828d1d Trac #17121: LatticePoset: Add meet_irreducibles, faster
> is_distributive
> d19f706 Trac #17137: IPython 2.3.0
> 1f9b9ae Trac #17136: upgrade latte_int to 1.7.1, and fix the gmp config
> error
> 5c75e58 Trac #17133: Partition().to_exp() should return Sage Integers
> c985399 Trac #17139: Installing local/share/sage/ext/valgrind/python.supp
> fails
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-release" 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-release.
For more options, visit https://groups.google.com/d/optout.