-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
The vertex facet graph of CombinatorialPolyhedron
only works for polyhedra of dimension at least one. With #29188 this makes it fail with for Polyhedron_base
as well.
We fix this to return
- the
Digraph
on 0 vertices for the empty polyhedron and - the
Digraph
on 1 vertex for the 0-dimensional polyhedron (it was misbehaved even before Move vertex facet graph to combinatorial polyhedron #29188).
We also "fix" the definition of facets to correspond to inequalities.
The 0
-dimensional polyhedron does not have facets in this case anymore.
(Before this ticket n_facets
and facets
would use different definitions of facets.)
Component: geometry
Keywords: polyhedra, vertex facet graph
Author: Jonathan Kliem
Branch: 25cfaa0
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/29898