Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Feb 21, 2024
1 parent b049c49 commit 253565d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/data/replay_buffers/storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def shape(self):
f"Please report this exception as well as the use case (incl. buffer construction) on github."
)

def _max_size_along_dim0(self, *, single_data, batched_data):
def _max_size_along_dim0(self, *, single_data=None, batched_data=None):
if self.ndim == 1:
return self.max_size
raise RuntimeError(
Expand Down

0 comments on commit 253565d

Please sign in to comment.