Skip to content

Commit

Permalink
fix expected bulk modulus in test_md_npt_nose_hoover
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Dec 7, 2023
1 parent d8277f4 commit 20ec8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def test_md_npt_nose_hoover(tmp_path: Path, monkeypatch: MonkeyPatch):
assert isinstance(md.atoms, Atoms)
assert isinstance(md.atoms.calc, CHGNetCalculator)
assert isinstance(md.dyn, NPT)
assert md.bulk_modulus == approx(88.6389, rel=1e-2)
assert md.bulk_modulus == approx(91.14753, rel=1e-2)
assert_allclose(
md.dyn.externalstress,
[-6.324e-07, -6.324e-07, -6.324e-07, 0.0, 0.0, 0.0],
Expand Down

0 comments on commit 20ec8c9

Please sign in to comment.