summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-09-24 10:25:25 +0200
committerRémi Flamary <remi.flamary@gmail.com>2018-09-24 10:25:25 +0200
commit75fe96c183852971bb7be1da39af202b9f7d6e6c (patch)
tree9b140f6b38c1c7e77443e654a6d783ac63b74053
parent1d494107611c2e6e2249b7a624e64cec6357b4bd (diff)
remove i+1
-rw-r--r--ot/bregman.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ot/bregman.py b/ot/bregman.py
index 05f7c75..1f5150a 100644
--- a/ot/bregman.py
+++ b/ot/bregman.py
@@ -521,7 +521,6 @@ def greenkhorn(a, b, M, reg, numItermax=10000, stopThr=1e-9, verbose=False, log=
log['v'] = v
for i in range(numItermax):
- i += 1
i_1 = np.argmax(np.abs(viol))
i_2 = np.argmax(np.abs(viol_2))
m_viol_1 = np.abs(viol[i_1])