summaryrefslogtreecommitdiff
path: root/test/test_ot.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2019-12-02 13:36:08 +0100
committerRémi Flamary <remi.flamary@gmail.com>2019-12-02 13:36:08 +0100
commitdfaba55affcca606e8e041bdbd0fc5a7735c2b07 (patch)
treef03f1baa7490c2206f1b5c7694146f69b1257f67 /test/test_ot.py
parent7371b2f4f931db8f67ec2967253be8d95ff9fe80 (diff)
add test emd2 multi
Diffstat (limited to 'test/test_ot.py')
-rw-r--r--test/test_ot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ot.py b/test/test_ot.py
index 48ea87f..470fd0f 100644
--- a/test/test_ot.py
+++ b/test/test_ot.py
@@ -176,7 +176,7 @@ def test_emd2_multi():
ot.toc('multi proc : {} s')
np.testing.assert_allclose(emd1, emdn)
- np.testing.assert_allclose(emd1, emdn2)
+ np.testing.assert_allclose(emd1, emdn2, rtol=1e-6)
# emd loss multipro proc with log
ot.tic()