Skip to content

Commit 9dd2689

Browse files
ci: fix tolerance on diff
1 parent 231eb48 commit 9dd2689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cleo_1dkid/tests/test_cleo_sdm_microphysics_scheme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def _test_microphys_with_wrapper(path2cleopythonbindings, config_filename):
254254
assert np.all(thermo1.press == thermo2.press)
255255
assert np.all(thermo1.temp == thermo2.temp)
256256
for q1, q2 in zip(thermo1.unpack_massmix_ratios(), thermo2.unpack_massmix_ratios()):
257-
assert np.all(q1 == q2)
257+
assert np.all(abs(q1 - q2) < 1e-24)
258258

259259
return 0
260260

0 commit comments

Comments
 (0)