Skip to content

Commit

Permalink
Merge pull request #215 from NextCenturyCorporation/restricted-metada…
Browse files Browse the repository at this point in the history
…ta-levels-reward-bug

Fixed bug with reward at restricted metadata levels.
  • Loading branch information
ThomasSchellenbergNextCentury authored Dec 5, 2020
2 parents 2e71220 + 7d75a65 commit 409c902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine_common_sense/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ def wrap_output(self, scene_event):
camera_height=scene_event.metadata.get(
'cameraPosition', {}).get('y', 0.0),
depth_map_list=depth_map_list,
goal=self._goal,
goal=copy.deepcopy(self._goal),
habituation_trial=(
self.__habituation_trial
if self._goal.habituation_total >= self.__habituation_trial
Expand Down

0 comments on commit 409c902

Please sign in to comment.