We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f33b43 commit 70e2c0dCopy full SHA for 70e2c0d
godot_rl/core/utils.py
@@ -90,10 +90,9 @@ def action_space(self):
90
91
def to_original_dist(self, action):
92
if not self._convert:
93
- if self._only_one_action_space and self._all_actions_discrete:
94
- return [action]
95
- else:
96
- return action
+ return action
+ elif self._only_one_action_space and self._all_actions_discrete:
+ return [action]
97
98
original_action = []
99
counter = 0
0 commit comments