Skip to content

Commit

Permalink
Added atol=1.0e-6 to make sure test does not fail because of the offd…
Browse files Browse the repository at this point in the history
…iagonal terms in kappa
  • Loading branch information
DjordjeDangic committed Feb 9, 2024
1 parent 8f9bf65 commit 4be427f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestTC/test_tc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 4be427f

Please sign in to comment.