On 2019-01-14 17:40, Dima Pasechnik wrote:
I am getting a Heisenbug:
sage -t --long src/sage/geometry/polyhedron/library.py
**********************************************************************
File "src/sage/geometry/polyhedron/library.py", line 398, in
sage.geometry.polyhedron.library.Polytopes.icosahedron
Failed example:
ico.volume()
Exception raised:
Traceback (most recent call last):
File
"/home/dimpase/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 671, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/home/dimpase/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1086, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.geometry.polyhedron.library.Polytopes.icosahedron[5]>", line 1,
in <module>
ico.volume()
File "sage/misc/cachefunc.pyx", line 1952, in
sage.misc.cachefunc.CachedMethodCaller.__call__
(build/cythonized/sage/misc/cachefunc.c:10324)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1828, in
sage.misc.cachefunc.CachedMethodCaller._instance_call
(build/cythonized/sage/misc/cachefunc.c:9809)
return self.f(self._instance, *args, **kwds)
File
"/home/dimpase/sage/local/lib/python2.7/site-packages/sage/geometry/polyhedron/base.py",
line 5039, in volume
triangulation = self.triangulate(engine=engine, **kwds)
File
"/home/dimpase/sage/local/lib/python2.7/site-packages/sage/geometry/polyhedron/base.py",
line 2837, in triangulate
return pc.triangulate()
File
"/home/dimpase/sage/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py",
line 1092, in triangulate
return self.placing_triangulation()
File
"/home/dimpase/sage/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py",
line 2055, in placing_triangulation
for facet in facets_of_simplex(simplex):
File
"/home/dimpase/sage/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py",
line 1994, in facets_of_simplex
normals = span.inverse().columns()
File "sage/matrix/matrix2.pyx", line 8857, in
sage.matrix.matrix2.Matrix.inverse
(build/cythonized/sage/matrix/matrix2.c:66081)
return ~self
File "sage/matrix/matrix_double_dense.pyx", line 466, in
sage.matrix.matrix_double_dense.Matrix_double_dense.__invert__
(build/cythonized/sage/matrix/matrix_double_dense.c:5933)
raise ZeroDivisionError("input matrix must be nonsingular")
ZeroDivisionError: input matrix must be nonsingular
Perhaps the underlying triangulation code uses some randomisation,
getting bad triangulations in this case.
Related? https://trac.sagemath.org/ticket/18214
--
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.