summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-09-24 15:34:51 +0200
committerRémi Flamary <remi.flamary@gmail.com>2018-09-24 15:34:51 +0200
commit67c98a68cc114335a8ea48106bb7fd3c8a57f831 (patch)
tree2d1852afc1ae83e23c63c68863c9bbbed5ff0847 /test
parentca08b788af38a076f45f000003eb0e2f227d7fd5 (diff)
parent22d310d554239a854a5027397a5a6dff7cfe8d3c (diff)
merge doc
Diffstat (limited to 'test')
-rw-r--r--test/test_bregman.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_bregman.py b/test/test_bregman.py
index 01ec655..58afd7a 100644
--- a/test/test_bregman.py
+++ b/test/test_bregman.py
@@ -71,11 +71,14 @@ def test_sinkhorn_variants():
Ges = ot.sinkhorn(
u, u, M, 1, method='sinkhorn_epsilon_scaling', stopThr=1e-10)
Gerr = ot.sinkhorn(u, u, M, 1, method='do_not_exists', stopThr=1e-10)
+ G_green = ot.sinkhorn(u, u, M, 1, method='greenkhorn', stopThr=1e-10)
# check values
np.testing.assert_allclose(G0, Gs, atol=1e-05)
np.testing.assert_allclose(G0, Ges, atol=1e-05)
np.testing.assert_allclose(G0, Gerr)
+ np.testing.assert_allclose(G0, G_green, atol=1e-5)
+ print(G0, G_green)
def test_bary():