Skip to content

Commit 603c0ee

Browse files
committed
pb index
1 parent a04112c commit 603c0ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ot/bregman.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def sinkhorn_knopp(a, b, M, reg, numItermax=1000,
359359
uprev = u
360360
vprev = v
361361
if nbb:
362-
KtransposeU = np.einsum('ij,i,k->jk',K,u)#np.dot(K.T, u)
362+
KtransposeU = np.einsum('ij,ik->jk',K,u)#np.dot(K.T, u)
363363
v = np.divide(b, KtransposeU)
364364
u = 1. / np.einsum('ij,jk->ik',Kp,v)#np.dot(Kp, v)
365365
else:

0 commit comments

Comments
 (0)