Skip to content

Commit fafde59

Browse files
committed
Use float64 for extensivity test
1 parent 52feb89 commit fafde59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ml_peg/calcs/physicality/extensivity/calc_extensivity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def test_extensivity(mlip: tuple[str, Any]) -> None:
6060
Name of model use and model to get calculator.
6161
"""
6262
model_name, model = mlip
63+
# Use double precision
64+
model.default_dtype = "float64"
6365
calc = model.get_calculator()
6466

6567
sym1, sym2 = "Al", "Ni" # element of slab-1 and slab-2

0 commit comments

Comments
 (0)