We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d07e7c1 commit 2ae5f57Copy full SHA for 2ae5f57
1 file changed
dm_control/manipulation/lift.py
@@ -67,9 +67,7 @@ def _add_vertex_sites(self, box_geom_or_site):
67
"""Add sites corresponding to the vertices of a box geom or site."""
68
offsets = (
69
(-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)
+ site_positions = np.vstack(list(itertools.product(*offsets)))
73
if box_geom_or_site.pos is not None:
74
site_positions += box_geom_or_site.pos
75
self._vertices = []
0 commit comments