Fix Test: Delay was not supplied to mp-generator
This commit is contained in:
parent
de118a3113
commit
eb1d145dbd
@ -286,7 +286,7 @@ def test_learn_delay(mp_type: str, delay: float):
|
|||||||
action = env.action_space.sample()
|
action = env.action_space.sample()
|
||||||
action[0] = delay
|
action[0] = delay
|
||||||
|
|
||||||
_obs, _reward, terminated, truncated, info = env.step(env.action_space.sample())
|
_obs, _reward, terminated, truncated, info = env.step(action)
|
||||||
done = terminated or truncated
|
done = terminated or truncated
|
||||||
|
|
||||||
length = info['trajectory_length']
|
length = info['trajectory_length']
|
||||||
|
Loading…
Reference in New Issue
Block a user