Skip to content

Commit

Permalink
Adjust threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
bastonero committed Dec 9, 2023
1 parent 665c475 commit f398d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/calculations/test_spectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_compute_raman_susceptibility_tensors(generate_phonopy_instance, generat
print(alpha_comp, alpha_theo)
print('\n', '================================', '\n')

assert np.abs(alpha_comp - alpha_theo) < 5e-4
assert np.abs(alpha_comp - alpha_theo) < 5e-3

alpha, _, _ = compute_raman_susceptibility_tensors(
phonopy_instance=ph,
Expand All @@ -122,4 +122,4 @@ def test_compute_raman_susceptibility_tensors(generate_phonopy_instance, generat
print(dchivol, alpha_comp)
print('\n', '================================', '\n')

assert np.abs(alpha_comp + dchivol) < 5e-4
assert np.abs(alpha_comp + dchivol) < 5e-3

0 comments on commit f398d99

Please sign in to comment.