mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-23 15:04:20 +00:00
0.17.2 and release notes
This commit is contained in:
@@ -160,6 +160,11 @@ We are using `pytest <http://doc.pytest.org>`_ for tests. You can run them via:
|
||||
|
||||
What's new
|
||||
==========
|
||||
- 2020-05-08 (v 0.17.2)
|
||||
- remove unnecessary precision warning when creating Box with scalar bounds - thanks @johannespitz!
|
||||
- remove six from the dependencies
|
||||
+ FetchEnv sample goal range can be specified through kwargs - thanks @YangRui2015!
|
||||
|
||||
- 2020-03-05 (v 0.17.1)
|
||||
+ update cloudpickle dependency to be >=1.2.0,<1.4.0
|
||||
|
||||
|
@@ -40,10 +40,10 @@ class Box(Space):
|
||||
raise ValueError("shape must be provided or inferred from the shapes of low or high")
|
||||
|
||||
if np.isscalar(low):
|
||||
low = np.full(shape, low)
|
||||
low = np.full(shape, low, dtype=dtype)
|
||||
|
||||
if np.isscalar(high):
|
||||
high = np.full(shape, high)
|
||||
high = np.full(shape, high, dtype=dtype)
|
||||
|
||||
self.shape = shape
|
||||
self.low = low
|
||||
|
@@ -1 +1 @@
|
||||
VERSION = '0.17.1'
|
||||
VERSION = '0.17.2'
|
||||
|
Reference in New Issue
Block a user