Skip to content

Commit

Permalink
Fix duplicate var
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinfriede committed May 3, 2024
1 parent aa27ba2 commit d5b4b1a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test_grad/test_pos.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ def test_backward(dtype: torch.dtype, name: str) -> None:
"a2": torch.tensor(5.00000000, **dd),
}

ref = sample["grad"].type(dtype)

# variable to be differentiated
positions.requires_grad_(True)

Expand Down

0 comments on commit d5b4b1a

Please sign in to comment.