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

Commit

Permalink
Trac #27329: insert an additional doctest enhancing the readability of
Browse files Browse the repository at this point in the history
the whole test
  • Loading branch information
dkrenn committed Feb 20, 2019
1 parent 4efdb48 commit 74470e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6652,6 +6652,11 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False,
sage: S = polytopes.simplex(); S
A 3-dimensional polyhedron in ZZ^4 defined as the convex hull of 4 vertices
sage: S.vertices()
(A vertex at (0, 0, 0, 1),
A vertex at (0, 0, 1, 0),
A vertex at (0, 1, 0, 0),
A vertex at (1, 0, 0, 0))
sage: A = S.affine_hull(); A
A 3-dimensional polyhedron in ZZ^3 defined as the convex hull of 4 vertices
sage: A.vertices()
Expand Down

0 comments on commit 74470e2

Please sign in to comment.