Fixed: Output-Box-Boundaries were not met
This commit is contained in:
parent
7360318866
commit
de4704f813
@ -273,8 +273,8 @@ class CompositionalObservable(Observable):
|
||||
for i, obs in enumerate(self.observables):
|
||||
space = obs.get_observation_space()
|
||||
num += math.prod(space.shape)
|
||||
low = min(low, float(space.low[0]))
|
||||
high = max(high, float(space.high[0]))
|
||||
low = min(low, float(space.low[0].item()))
|
||||
high = max(high, float(space.high[0].item()))
|
||||
if False:
|
||||
if not i:
|
||||
low = space.low
|
||||
|
Loading…
Reference in New Issue
Block a user