Skip to content

Commit 4fe8739

Browse files
committed
fix conflict
1 parent 6436217 commit 4fe8739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎torchrl/envs/transforms/_reward.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ def forward(self, tensordict: TensorDictBase) -> TensorDictBase:
627627
"At least one dimension of the tensordict must be named 'time' in offline mode"
628628
)
629629
time_dim = time_dim[0]
630-
for in_key, out_key in _zip_strict(self.in_keys, self.out_keys):
630+
for in_key, out_key in zip(self.in_keys, self.out_keys, strict=True):
631631
reward = tensordict[in_key]
632632
cumsum = reward.cumsum(time_dim)
633633
tensordict.set(out_key, cumsum)

0 commit comments

Comments
 (0)