Skip to content

Commit fe9ebdc

Browse files
committed
Fix test_ccd.py
1 parent 4b3b2ec commit fe9ebdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ccd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def hd0(v_ga):
2424
)
2525
assert hd0.spin_index == 1
2626
assert pytest.approx(hd0.distortions[1]) == 0.0
27-
assert pytest.approx(hd0.omega_eV) == 0.03268045792725
27+
assert pytest.approx(hd0.omega_eV, rel=1e-4) == 0.03268045792725
2828
assert hd0.defect_band == [(138, 0, 1), (138, 1, 1)]
2929
assert hd0._get_ediff(output_order="bks").shape == (216, 2, 2)
3030
assert hd0._get_ediff(output_order="skb").shape == (2, 2, 216)

0 commit comments

Comments
 (0)