mirror of https://github.com/phonopy/phonopy.git
Update test_pwmat.py
This commit is contained in:
parent
5e57b46e18
commit
7a86f52cf6
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue