Fix: NameError: name 'd' is not defined

This commit is contained in:
Dominik Moritz Roth 2023-05-27 12:48:45 +02:00
parent 35680ab9a2
commit a8a67601ca

View File

@ -92,7 +92,7 @@ def test_learn_sub_trajectories(mp_type: str, env_wrap: Tuple[str, Type[RawInter
length = info['trajectory_length']
if not d:
if not done:
assert length == np.round(action[0] / env.dt)
assert length == np.round(env.traj_gen.tau.numpy() / env.dt)
else: