Skip to content

Commit

Permalink
Update base_env.py
Browse files Browse the repository at this point in the history
Fix remaining lower->upper in continuous action space
  • Loading branch information
eugenevinitsky authored Sep 28, 2022
1 parent b1353fa commit f0d6df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nocturne/envs/base_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def __init__(self, cfg: Dict[str, Any], rank: int = 0) -> None:
]),
high=np.array([
np.abs(self.cfg['accel_upper_bound']),
self.cfg['steering_lower_bound'],
self.cfg['head_angle_lower_bound']
self.cfg['steering_upper_bound'],
self.cfg['head_angle_upper_bound']
]),
)

Expand Down

0 comments on commit f0d6df2

Please sign in to comment.