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

Commit f4c89fe

Browse files
author
Jonathan Kliem
committed
fixed pyflakes error in affine hull
1 parent 901a37a commit f4c89fe

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/sage/geometry/polyhedron/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7802,7 +7802,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False,
78027802
A = M.gram_schmidt(orthonormal=orthonormal)[0]
78037803
if as_affine_map:
78047804
return linear_transformation(A, side='right'), -A*vector(A.base_ring(), self.vertices()[0])
7805-
return Polyhedron([A*vector(A.base_ring(), v) for v in Q.vertices()], base_ring=A.base_ring())
7805+
return Polyhedron([A*vector(A.base_ring(), w) for w in Q.vertices()], base_ring=A.base_ring())
78067806

78077807
# translate one vertex to the origin
78087808
v0 = self.vertices()[0].vector()

0 commit comments

Comments
 (0)