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

Commit

Permalink
Fixup doctest formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 19, 2021
1 parent 2c1e2bd commit 57fd3e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10198,8 +10198,8 @@ def affine_hull_projection(self, as_polyhedron=None, as_affine_map=False, orthog
sage: data = S.affine_hull_projection(orthogonal=True,
....: as_polyhedron=True,
....: as_affine_map=True); data
Polyhedron_base.AffineHullProjectionData(...
polyhedron=A 2-dimensional polyhedron in QQ^2 defined as the convex hull of 3 vertices,
Polyhedron_base.AffineHullProjectionData(polyhedron=A 2-dimensional polyhedron in QQ^2
defined as the convex hull of 3 vertices,
projection_linear_map=Vector space morphism represented by the matrix:
[ -1 -1/2]
[ 1 -1/2]
Expand All @@ -10213,8 +10213,8 @@ def affine_hull_projection(self, as_polyhedron=None, as_affine_map=False, orthog
Return all data::
sage: data = S.affine_hull_projection(orthogonal=True, return_all_data=True); data
Polyhedron_base.AffineHullProjectionData(...
polyhedron=A 2-dimensional polyhedron in QQ^2 defined as the convex hull of 3 vertices,
Polyhedron_base.AffineHullProjectionData(polyhedron=A 2-dimensional polyhedron in QQ^2
defined as the convex hull of 3 vertices,
projection_linear_map=Vector space morphism represented by the matrix:
[ -1 -1/2]
[ 1 -1/2]
Expand All @@ -10236,8 +10236,8 @@ def affine_hull_projection(self, as_polyhedron=None, as_affine_map=False, orthog
Same without ``orthogonal=True``::
sage: data = S.affine_hull_projection(return_all_data=True); data
Polyhedron_base.AffineHullProjectionData(...
polyhedron=A 2-dimensional polyhedron in ZZ^2 defined as the convex hull of 3 vertices,
Polyhedron_base.AffineHullProjectionData(polyhedron=A 2-dimensional polyhedron in ZZ^2
defined as the convex hull of 3 vertices,
projection_linear_map=Vector space morphism represented by the matrix:
[1 0]
[0 1]
Expand Down

0 comments on commit 57fd3e1

Please sign in to comment.