From 699c22039498ae06fdb14e8df5d41318add999d5 Mon Sep 17 00:00:00 2001 From: Katze2664 <40237250+Katze2664@users.noreply.github.com> Date: Tue, 4 Jun 2024 16:21:38 +1000 Subject: [PATCH] Update replay_memory.py When self.size == self._initial_size, ReplayMemory.initialized should be True --- mushroom_rl/rl_utils/replay_memory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mushroom_rl/rl_utils/replay_memory.py b/mushroom_rl/rl_utils/replay_memory.py index 8b5fb032..f4491dd7 100644 --- a/mushroom_rl/rl_utils/replay_memory.py +++ b/mushroom_rl/rl_utils/replay_memory.py @@ -144,7 +144,7 @@ def initialized(self): allows it to be used. """ - return self.size > self._initial_size + return self.size >= self._initial_size @property def size(self):