Opened 3 years ago

Last modified 3 years ago

#29455 closed defect

Bug in incidence_matrix of CombinatorialPolyhedron — at Initial Version

Reported by: Laith Rastanawi Owned by:
Priority: major Milestone: sage-9.1
Component: geometry Keywords: polytope, combinatorialpolyhedron, incidence_matrix
Cc: Jean-Philippe Labbé, gh-kliem Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

The incidence_matrix method of a 0-dimensional CombinatorialPolyhedron returns an error:

sage: P = Polyhedron([[0]]); P
A 0-dimensional polyhedron in ZZ^1 defined as the convex hull of 1 vertex
sage: C = P.combinatorial_polyhedron()
sage: C.incidence_matrix()
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-7-dab311ba238f> in <module>()
----> 1 C.incidence_matrix()
...
ValueError: ``output_dimension`` must be the dimension of proper faces

Change History (0)

Note: See TracTickets for help on using tickets.