Skip to content

Commit ec1c98d

Browse files
committed
Update
[ghstack-poisoned]
2 parents d4ab1eb + 3a51816 commit ec1c98d

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)