Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
albertbou92 committed Jan 2, 2024
1 parent 220fd05 commit 9efa800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/envs/transforms/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6634,7 +6634,7 @@ def __init__(
for module in modules:
if not isinstance(module, TensorDictModuleBase):
raise ValueError(
f"All modules must be TensorDictModules, not {type(module)}."
f"All modules must be TensorDictModules, but a {type(module)} was provided."
)

in_keys = set()
Expand Down

0 comments on commit 9efa800

Please sign in to comment.