summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_smooth.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_smooth.py b/test/test_smooth.py
index f951bf9..4ca44f8 100644
--- a/test/test_smooth.py
+++ b/test/test_smooth.py
@@ -30,4 +30,8 @@ def test_smooth_ot_dual():
u, G.sum(1), atol=1e-05) # cf convergence sinkhorn
np.testing.assert_allclose(
u, G.sum(0), atol=1e-05) # cf convergence sinkhorn
+
+
+ G2 = ot.sinkhorn(u, u, M, 1, stopThr=1e-10)
+ np.testing.assert_allclose( G, G2 , atol=1e-05)
\ No newline at end of file