From 61e7a287adf45ff2f6a715900c49f04593606236 Mon Sep 17 00:00:00 2001 From: Osman Warsi Date: Thu, 24 Nov 2022 16:39:25 -0500 Subject: [PATCH] Mistake in check_valid_step parameter start_pos is not a tuple, but an np array --- world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world.py b/world.py index eee7ef3..e172bf4 100644 --- a/world.py +++ b/world.py @@ -278,7 +278,7 @@ def check_valid_step(self, start_pos, end_pos, barrier_dir): Parameters ---------- - start_pos : tuple + start_pos : np.ndarray The start position of the agent. end_pos : np.ndarray The end position of the agent.