Skip to content

Commit 2ae5f57

Browse files
committed
make oneline
1 parent d07e7c1 commit 2ae5f57

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

dm_control/manipulation/lift.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ def _add_vertex_sites(self, box_geom_or_site):
6767
"""Add sites corresponding to the vertices of a box geom or site."""
6868
offsets = (
6969
(-half_length, half_length) for half_length in box_geom_or_site.size)
70-
71-
site_positions = list(itertools.product(*offsets))
72-
site_positions = np.vstack(site_positions)
70+
site_positions = np.vstack(list(itertools.product(*offsets)))
7371
if box_geom_or_site.pos is not None:
7472
site_positions += box_geom_or_site.pos
7573
self._vertices = []

0 commit comments

Comments
 (0)