Skip to content

Commit

Permalink
Fix warning action when it isn't matching with action space (now dont…
Browse files Browse the repository at this point in the history
… raise error)
  • Loading branch information
AlejandroCN7 committed Oct 23, 2023
1 parent 5e9478f commit b3c9806
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sinergym/envs/eplus_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ def step(self,
self.logger.warning(
'Step: The action {} is not correct for the Action Space {}'.format(
action, self._action_space))
raise err

# Check if episode existed and is not terminated
try:
Expand Down

0 comments on commit b3c9806

Please sign in to comment.