Skip to content

Commit

Permalink
[BugFix] Fix none ref in during reduction (#1090)
Browse files Browse the repository at this point in the history
(cherry picked from commit c11024e)
  • Loading branch information
vmoens committed Nov 14, 2024
1 parent cdd5cb3 commit 88c86f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensordict/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10687,7 +10687,7 @@ def set_(x):
tgt = mb_unwrap_functional_tensor(new_thing)
src = mb_unwrap_functional_tensor(ragged_source)
tgt.nested_int_memo = src.nested_int_memo
else:
elif new_thing is not None:
_tensor_symint_registry[new_thing] = _tensor_symint_registry[
ragged_source
]
Expand Down

0 comments on commit 88c86f8

Please sign in to comment.