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

Commit 4efdb48

Browse files
committed
Trac #27329: insert 3 whitespaces (PEP8)
1 parent 1ca3e2c commit 4efdb48

File tree

1 file changed

+3
-3
lines changed
  • src/sage/geometry/polyhedron

1 file changed

+3
-3
lines changed

src/sage/geometry/polyhedron/base.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6589,7 +6589,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False,
65896589
- ``as_affine_map`` (boolean, default = False) -- If ``False``, return
65906590
a polyhedron. If ``True``, return the affine transformation,
65916591
that sends the embedded polytope to a fulldimensional one.
6592-
It is given as a pair ``(A,b)``, where A is a linear transformation
6592+
It is given as a pair ``(A, b)``, where A is a linear transformation
65936593
and ``b`` is a vector, and the affine transformation sends ``v`` to
65946594
``A(v)+b``.
65956595
@@ -6753,7 +6753,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False,
67536753
sage: Pentagon = polytopes.dodecahedron().faces(2)[0].as_polyhedron()
67546754
sage: Pnormal = Pentagon.affine_hull(orthonormal=True, extend=True)
67556755
sage: Pgonal = Pentagon.affine_hull(orthogonal=True)
6756-
sage: A,b = Pentagon.affine_hull(orthogonal = True, as_affine_map=True)
6756+
sage: A, b = Pentagon.affine_hull(orthogonal=True, as_affine_map=True)
67576757
sage: Adet = (A.matrix().transpose()*A.matrix()).det()
67586758
sage: Pnormal.volume()
67596759
1.53406271079097?
@@ -6767,7 +6767,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False,
67676767
An other example with ``as_affine_map=True``::
67686768
67696769
sage: P = polytopes.permutahedron(4)
6770-
sage: A,b = P.affine_hull(orthonormal=True, as_affine_map=True, extend=True)
6770+
sage: A, b = P.affine_hull(orthonormal=True, as_affine_map=True, extend=True)
67716771
sage: Q = P.affine_hull(orthonormal=True, extend=True)
67726772
sage: Q.center()
67736773
(0.7071067811865475?, 1.224744871391589?, 1.732050807568878?)

0 commit comments

Comments
 (0)