-
-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #29898: vertex facet graph for trivial polyhedra fails
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 #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.)b URL: https://trac.sagemath.org/29898 Reported by: gh-kliem Ticket author(s): Jonathan Kliem Reviewer(s): Matthias Koeppe
- Loading branch information
Showing
2 changed files
with
54 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters