Skip to content

Commit 7b94e42

Browse files
author
Vincent Moens
committed
Update
[ghstack-poisoned]
1 parent ed5d500 commit 7b94e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchrl/envs/utils.py

Lines changed: 1 addition & 1 deletion
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_spec()
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)