Skip to content

Commit

Permalink
Reenable forces for jax. Fixed little typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
PatReis committed Feb 24, 2024
1 parent c54858f commit 2833835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kgcnn/models/force.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def __init__(self,
self._call_grad_backend = self._call_grad_tf
elif backend() == "torch":
self._call_grad_backend = self._call_grad_torch
# elif backend() == "jax":
# self._call_grad_backend = self._call_grad_jax
elif backend() == "jax":
self._call_grad_backend = self._call_grad_jax
else:
raise NotImplementedError("Backend '%s' not supported for force model." % backend())

Expand Down

0 comments on commit 2833835

Please sign in to comment.