Skip to content

Commit

Permalink
Replace np.bool with bool (makes np > 1.20 usable) (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
JD-The-65th committed Jun 1, 2023
1 parent 47b9f2d commit c0c9baa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -59,7 +59,7 @@ class _IsAliveObservation(LifeStatsObservation):
def __init__(self):
keys = ['is_alive']
super().__init__(hero_keys=keys, univ_keys=keys,
space=spaces.Box(low=False, high=True, shape=(), dtype=np.bool),
space=spaces.Box(low=False, high=True, shape=(), dtype=bool),
default_if_missing=True)


Expand Down

0 comments on commit c0c9baa

Please sign in to comment.