Skip to content

Commit 55e8392

Browse files
committed
remove unused variable
1 parent 24a53ef commit 55e8392

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ot/bregman.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,6 @@ def greenkhorn(a, b, M, reg, numItermax=10000, stopThr=1e-9, verbose=False, log=
513513
v = np.full(m, 1. / m)
514514
G = u[:, np.newaxis] * K * v[np.newaxis, :]
515515

516-
one_n = np.ones(n)
517-
one_m = np.ones(m)
518516
viol = G.sum(1) - a
519517
viol_2 = G.sum(0) - b
520518
stopThr_val = 1

0 commit comments

Comments
 (0)