Skip to content

Commit 699c220

Browse files
authored
Update replay_memory.py
When self.size == self._initial_size, ReplayMemory.initialized should be True
1 parent 5c3170e commit 699c220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mushroom_rl/rl_utils/replay_memory.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def initialized(self):
144144
allows it to be used.
145145
146146
"""
147-
return self.size > self._initial_size
147+
return self.size >= self._initial_size
148148

149149
@property
150150
def size(self):

0 commit comments

Comments
 (0)