Skip to content

Commit

Permalink
Update replay_memory.py
Browse files Browse the repository at this point in the history
When self.size == self._initial_size, ReplayMemory.initialized should be True
  • Loading branch information
Katze2664 authored Jun 4, 2024
1 parent 5c3170e commit 699c220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mushroom_rl/rl_utils/replay_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 699c220

Please sign in to comment.