Skip to content

Commit

Permalink
Use CPU platform for test.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Oct 12, 2024
1 parent ffd44d7 commit 53dcfb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/convert/test_openmm_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,12 +473,14 @@ def test_asymmetric_constraints():
perturbable_constraint="h_bonds_not_heavy_perturbed",
dynamic_constraints=True,
include_constrained_energies=False,
platform="CPU",
)
d_backwards = mol.dynamics(
perturbable_constraint="h_bonds_not_heavy_perturbed",
include_constrained_energies=False,
dynamic_constraints=True,
swap_end_states=True,
platform="CPU",
)

# Set lambda so the dynamics states are equivalent.
Expand Down

0 comments on commit 53dcfb7

Please sign in to comment.