-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
#28625 fixed the f_vector
in the case of unpointed polyhedra/polyhedra with lines.
We add doctests showing that #28625 fixed a bug in f_vector
.
Before:
sage: Polyhedron(ieqs=[[1,-1,0],[1,1,0]]).f_vector()
(1, 2, 1)
But this polyhedron does not have zero-dimensional faces, and #28625 has correctly changed that:
sage: Polyhedron(ieqs=[[1,-1,0],[1,1,0]]).f_vector()
(1, 0, 2, 1)
Also we add documentation, specifically warning users that the methods
vertices
,vertices_list
,vertices_generator
vertices_matrix
,n_vertices
,
treat vertices of theVrepresentation
and not vertices of the polyhedron in the unpointed case.
Depends on #28625
Component: geometry
Author: Jonathan Kliem
Branch/Commit: 1c5378c
Reviewer: Jean-Philippe Labbé
Issue created by migration from https://trac.sagemath.org/ticket/26922