summaryrefslogtreecommitdiff
path: root/ot/bregman.py
diff options
context:
space:
mode:
authorRomain Tavenard <romain.tavenard@univ-rennes2.fr>2019-07-01 15:36:55 +0200
committerRomain Tavenard <romain.tavenard@univ-rennes2.fr>2019-07-01 15:36:55 +0200
commita08375c8dc7594e247e586fcc4d65a96771d25c7 (patch)
tree157149419ca58479a4aa8eb1412d14076925c226 /ot/bregman.py
parent64dba525bb5e0ac7952871df859df59fecf19a65 (diff)
Fixed all doctests assuming functions are working properly (actually tested in tests/)
Diffstat (limited to 'ot/bregman.py')
-rw-r--r--ot/bregman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/bregman.py b/ot/bregman.py
index caf4024..50f8389 100644
--- a/ot/bregman.py
+++ b/ot/bregman.py
@@ -1559,7 +1559,7 @@ def empirical_sinkhorn_divergence(X_s, X_t, reg, a=None, b=None, metric='sqeucli
>>> X_s = np.reshape(np.arange(n_s), (n_s, 1))
>>> X_t = np.reshape(np.arange(0, n_t), (n_t, 1))
>>> empirical_sinkhorn_divergence(X_s, X_t, reg)
- array([2.99977435])
+ array([1.49988718])
References