Skip to content

Commit

Permalink
Update tests/test_potentials.py
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Loche <philip.loche@posteo.de>
  • Loading branch information
ceriottm and PicoCentauri authored Jan 8, 2025
1 parent 49a34c0 commit 7755255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_potentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def test_potential_device(potential_class, device):
exponent = 1.0
dtype = torch.float64

if potential_class == InversePowerLawPotential:
if potential_class is InversePowerLawPotential:
potential = potential_class(
exponent=exponent, smearing=smearing, dtype=dtype, device=device
)
Expand Down

0 comments on commit 7755255

Please sign in to comment.