diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2018-09-24 10:19:18 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2018-09-24 10:19:18 +0200 |
commit | 55e8392993919d3c67538756663abd943d3bb491 (patch) | |
tree | 133595ea1e985198522f8044fcb7e6bccd266616 /ot/bregman.py | |
parent | 24a53ef2dba0a43c282f6b31937c3e7901df7930 (diff) |
remove unused variable
Diffstat (limited to 'ot/bregman.py')
-rw-r--r-- | ot/bregman.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ot/bregman.py b/ot/bregman.py index 97027e8..6e446a1 100644 --- a/ot/bregman.py +++ b/ot/bregman.py @@ -513,8 +513,6 @@ def greenkhorn(a, b, M, reg, numItermax=10000, stopThr=1e-9, verbose=False, log= v = np.full(m, 1. / m) G = u[:, np.newaxis] * K * v[np.newaxis, :] - one_n = np.ones(n) - one_m = np.ones(m) viol = G.sum(1) - a viol_2 = G.sum(0) - b stopThr_val = 1 |