Skip to content

Commit

Permalink
Fix truncations logic error in base_aec_wrapper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottower authored Mar 13, 2024
1 parent 6e1f348 commit ce93dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supersuit/utils/base_aec_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def observe(self, agent):

def step(self, action):
agent = self.env.agent_selection
if not self.terminations[agent] or self.truncations[agent]:
if not (self.terminations[agent] or self.truncations[agent]):
action = self._modify_action(agent, action)

super().step(action)
Expand Down

0 comments on commit ce93dcd

Please sign in to comment.