diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2018-09-28 09:51:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-28 09:51:14 +0200 |
commit | 08b859d376084059db90e770913394332e856faf (patch) | |
tree | 6289e70ccf013ceae5bfdfa18d02aadf4af0db27 /test | |
parent | fa7f3ddbed0267edf634e359ce5b3a335807af3c (diff) | |
parent | 4b0517607fa7316fe263b3894df9d30a5cdb133a (diff) |
Merge branch 'master' into new_gpu
Diffstat (limited to 'test')
-rw-r--r-- | test/test_bregman.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_bregman.py b/test/test_bregman.py index a141078..b0c3358 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(): |