We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c67a42 commit d07e7c1Copy full SHA for d07e7c1
1 file changed
dm_control/manipulation/lift.py
@@ -67,7 +67,9 @@ 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
- site_positions = np.vstack(itertools.product(*offsets))
+
71
+ site_positions = list(itertools.product(*offsets))
72
+ site_positions = np.vstack(site_positions)
73
if box_geom_or_site.pos is not None:
74
site_positions += box_geom_or_site.pos
75
self._vertices = []
0 commit comments