Skip to content

Commit 3a51816

Browse files
committed
Update (base update)
[ghstack-poisoned]
1 parent d04d4fc commit 3a51816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchrl/envs/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ def check_env_specs(
719719
720720
"""
721721
if return_contiguous is None:
722-
return_contiguous = not env._has_dynamic_specs()
722+
return_contiguous = not env._has_dynamic_specs
723723
if break_when_any_done == "both":
724724
check_env_specs(
725725
env,

0 commit comments

Comments
 (0)