Skip to content

Commit 055417e

Browse files
author
Kilian Fatras
committed
pep8
1 parent 3617b42 commit 055417e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ot/stochastic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,6 @@ def transportation_matrix_entropic(a, b, M, reg, method, numItermax=10000,
407407
return None
408408

409409
opt_u = c_transform_entropic(b, M, reg, opt_v)
410-
pi = (np.exp((opt_u[:, None] + opt_v[None, :] - M[:, :]) / reg)
411-
* a[:, None] * b[None, :])
410+
pi = (np.exp((opt_u[:, None] + opt_v[None, :] - M[:, :]) / reg) *
411+
a[:, None] * b[None, :])
412412
return pi

0 commit comments

Comments
 (0)