I'm not sure how 'tol' is calculated or used but this allowed the test to pass
diff --git a/src/sage/matrix/matrix_double_dense.pyx b/src/sage/matrix/matrix_double_dense.pyx index 61894c8..62425f7 100644 --- a/src/sage/matrix/matrix_double_dense.pyx +++ b/src/sage/matrix/matrix_double_dense.pyx @@ -665,7 +665,7 @@ cdef class Matrix_double_dense(Matrix_dense): an identity matrix can hit the minimum with the right norm. :: sage: A = matrix(RDF, 10, [1/(i+j+1) for i in range(10) for j in range(10)]) - sage: A.condition() # tol 1e-4 + sage: A.condition() # tol 1.1e-4 16332197709146.014 sage: id = identity_matrix(CDF, 10) sage: id.condition(p=1) So perhaps adjusting the 'tol' is in order unless the 'tol' is being applied incorrectly. I have had tolerance issues in the past with this same doctest on the presently used hardware. On Monday, September 19, 2016 at 10:39:47 PM UTC-5, Steven Trogdon wrote: > > On Gentoo 1 failure: > > sage -t --long src/sage/matrix/matrix_double_dense.pyx > ********************************************************************** > File "src/sage/matrix/matrix_double_dense.pyx", line 668, in > sage.matrix.matrix_double_dense.Matrix_double_dense.condition > Failed example: > A.condition() # tol 1e-4 > Expected: > 16332197709146.014 > Got: > 16333848415071.576 > Tolerance exceeded: > 16332197709146.014 vs 16333848415071.576, tolerance 1e-04 > 1e-04 > ********************************************************************** > > Now usually the tol spec if fairly close. But this way off. > > On Friday, September 16, 2016 at 4:18:56 PM UTC-5, Volker Braun wrote: >> >> As always, you can get the latest beta version from the "develop" git >> branch. Alternatively, the self-contained source tarball is at >> http://www.sagemath.org/download-latest.html >> > -- 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 sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.