Is there a problem in Voronoi cell computation ?
Dear community,
I was wondering if there is a problem in my following computation of voronoi cell ?
Here is the code I am using :
from sage.modules.free_module_integer import IntegerLattice
l = [7, 0, -1, -2, -1, -2, 7, -2, 0, 0, -2, 0, 7, -2, 0, -1, -2, -1, 7, 0, -1, -1, 0, -2, 7]
M = matrix(5, 5, l)
print (IntegerLattice(M).voronoi_cell().volume() == M.det() )
If I am not mistaken, the last print should be true which is not the case. Am I doing something wrong here ?
Indeed:
The diamond cutting algorithm is very verbose (54 steps in this case). Maybe it can help to debug?
I created an issue for this bug: https://github.com/sagemath/sage/issu...