From 4be427fbc84e77ed944abdc4bb9ab3ab08588d73 Mon Sep 17 00:00:00 2001 From: DjordjeDangic Date: Fri, 9 Feb 2024 08:33:18 +0100 Subject: [PATCH] Added atol=1.0e-6 to make sure test does not fail because of the offdiagonal terms in kappa --- tests/TestTC/test_tc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestTC/test_tc.py b/tests/TestTC/test_tc.py index adbcf8f..9e79401 100644 --- a/tests/TestTC/test_tc.py +++ b/tests/TestTC/test_tc.py @@ -51,6 +51,6 @@ def test_tc(): for key in keys: for key1 in keys1: if(key == key1): - np.testing.assert_allclose(tc.kappa[key], tc1.kappa[key1]) + np.testing.assert_allclose(tc.kappa[key], tc1.kappa[key1], atol = 1.0e-6) if __name__ == "__main__": test_tc()