-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
sage: p = Polyhedron(vertices=[(-3,-3), (3,0), (3,3), (0,3)], backend='normaliz')
sage: q = loads(p.dumps)
sage: p
sage: p.ehrhart_series()
(13*t^2 + 22*t + 1)/(-t^3 + 3*t^2 - 3*t + 1)
sage: p.volume()
18
sage: q.ehrhart_series()
(t^2 + 2*t + 1)/(-t^3 + 3*t^2 - 3*t + 1)
sage: q.volume()
2
The problem is that we should take the saturation instead of the basis of the row space. In the example above the quotient of the ambient lattice with the computed basis was not torsion-free.
Component: geometry
Keywords: normaliz, polytope
Author: David Roe, Jonathan Kliem
Branch/Commit: bcc7ea6
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/30891