mirror of https://github.com/phonopy/phono3py.git
Update test_imag_self_energy.py
This commit is contained in:
parent
1529da23d1
commit
748b016b29
|
@ -264,9 +264,7 @@ def test_kappa_RTA_si_N_U(si_pbesol):
|
|||
|
||||
# print(np.sum(gN), np.sum(gU))
|
||||
np.testing.assert_allclose(
|
||||
np.sum([np.ravel(gN_ref), np.ravel(gU_ref)], axis=0),
|
||||
gN.ravel() + gU.ravel(),
|
||||
atol=1e-2,
|
||||
np.ravel(gN_ref) + np.ravel(gU_ref), gN.ravel() + gU.ravel(), atol=1e-2
|
||||
)
|
||||
np.testing.assert_allclose(np.ravel(gN_ref), gN.ravel(), atol=1e-3)
|
||||
np.testing.assert_allclose(np.ravel(gU_ref), gU.ravel(), atol=1e-3)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue