summaryrefslogtreecommitdiff
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorNicolas Courty <ncourty@irisa.fr>2020-04-23 13:03:28 +0200
committerGitHub <noreply@github.com>2020-04-23 13:03:28 +0200
commitef12867f1425ee86b3cfddef4287b52d46114e83 (patch)
tree38e023c5561b1669f4d8e602feb6728f51e1b359 /test/test_utils.py
parentbacb0b992aa4e1ba7e5fd0beb0bf9617c801f833 (diff)
[WIP] Issue with sparse emd and adding tests on macos (#158)
* First commit-warning removal * remove dense feature * pep8 * pep8 * EMD.h * pep8 again * tic toc tolerance Co-authored-by: RĂ©mi Flamary <remi.flamary@gmail.com>
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 640598d..db9cda6 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -36,10 +36,10 @@ def test_tic_toc():
t2 = ot.toq()
# test timing
- np.testing.assert_allclose(0.5, t, rtol=1e-2, atol=1e-2)
+ np.testing.assert_allclose(0.5, t, rtol=1e-1, atol=1e-1)
# test toc vs toq
- np.testing.assert_allclose(t, t2, rtol=1e-2, atol=1e-2)
+ np.testing.assert_allclose(t, t2, rtol=1e-1, atol=1e-1)
def test_kernel():