From a8a67601ca868a4c90dcbc56099cafb0298f618e Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sat, 27 May 2023 12:48:45 +0200 Subject: [PATCH] Fix: NameError: name 'd' is not defined --- test/test_replanning_sequencing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_replanning_sequencing.py b/test/test_replanning_sequencing.py index 1a35f99..f2c598e 100644 --- a/test/test_replanning_sequencing.py +++ b/test/test_replanning_sequencing.py @@ -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: