Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
added optional flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Dec 1, 2020
1 parent c7ed9b5 commit bcc7ea6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/geometry/polyhedron/backend_normaliz.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,11 +767,11 @@ def _cone_from_Vrepresentation_and_Hrepresentation(self, vertices, rays, lines,
Check that :trac:`30891` is fixed::
sage: p = Polyhedron(vertices=[(-3,-3), (3,0), (3,3), (0,3)], backend='normaliz')
sage: q = loads(p.dumps())
sage: q.volume()
sage: p = Polyhedron(vertices=[(-3,-3), (3,0), (3,3), (0,3)], backend='normaliz') # optional - pynormaliz
sage: q = loads(p.dumps()) # optional - pynormaliz
sage: q.volume() # optional - pynormaliz
18
sage: q.ehrhart_series()
sage: q.ehrhart_series() # optional - pynormaliz
(13*t^2 + 22*t + 1)/(-t^3 + 3*t^2 - 3*t + 1)
"""
if eqns in (True, False, None):
Expand Down

0 comments on commit bcc7ea6

Please sign in to comment.