Skip to content

Commit

Permalink
swith to recommended import of jax.config in test
Browse files Browse the repository at this point in the history
  • Loading branch information
thorben-frank committed Jul 4, 2024
1 parent ecc9a6c commit 865531d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_neighbor_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ def filter_and_sort(distances, cutoff):


def test_neighborhood_list():
from jax import config
config.update("jax_enable_x64", True)
# test this import as well
import jax
jax.config.update("jax_enable_x64", True)

# load all data from the new ZrO2 data set
data = load_data('test_solid.npz')
Expand Down

0 comments on commit 865531d

Please sign in to comment.