Update test_pwmat.py

This commit is contained in:
Liang Jianxin 2024-05-11 19:26:41 +08:00 committed by GitHub
parent 5e57b46e18
commit 7a86f52cf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -32,3 +32,4 @@ def test_magmom():
assert cells.isclose(cell, cell_ref)
diff_mag = cell_ref.magnetic_moments - np.array([1] * 8)
assert (np.abs(diff_mag) < 1e-5).all()