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

Commit

Permalink
Merge branch 'public/28866-reb' of git://trac.sagemath.org/sage into …
Browse files Browse the repository at this point in the history
…public/28866-reb
  • Loading branch information
Jonathan Kliem committed Apr 16, 2020
2 parents ab4f49a + 93237d6 commit c701c31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4493,8 +4493,8 @@ def dilation(self, scalar):
make_new_Hrep = lambda h : tuple(scalar*sign*x if i == 0 else sign*x
for i,x in enumerate(h._vector))

new_vertices = map(lambda v : tuple(scalar*x for x in v._vector), self.vertex_generator())
new_rays = map(lambda r : tuple(sign*x for x in r._vector), self.ray_generator())
new_vertices = (tuple(scalar*x for x in v._vector) for v in self.vertex_generator())
new_rays = (tuple(sign*x for x in r._vector) for r in self.ray_generator())
new_lines = self.line_generator()
new_inequalities = map(make_new_Hrep, self.inequality_generator())
new_equations = map(make_new_Hrep, self.equation_generator())
Expand Down

0 comments on commit c701c31

Please sign in to comment.