Skip to content

Commit

Permalink
Merge pull request #142 from pfnet/fix-normalize-action-space-comment
Browse files Browse the repository at this point in the history
Fix NormalizeActionSpace's comment
  • Loading branch information
marioyc authored May 16, 2021
2 parents 7ff643b + 6b5ac98 commit 44bf2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pfrl/wrappers/normalize_action_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, env):
)

def action(self, action):
# action is in [0, 1]
# action is in [-1, 1]
action = action.copy()

# -> [0, 2]
Expand Down

0 comments on commit 44bf2e4

Please sign in to comment.