0.17.2 and release notes

This commit is contained in:
Peter Zhokhov
2020-05-08 16:25:27 -07:00
parent 174a27b7fc
commit b2727d6fd3
3 changed files with 8 additions and 3 deletions

View File

@@ -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