Skip to content

Commit 3617b42

Browse files
author
Kilian Fatras
committed
PEP8
1 parent 18f9242 commit 3617b42

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ot/stochastic.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ def c_transform_entropic(b, M, reg, v):
313313
'''
314314

315315
n_source = np.shape(M)[0]
316-
n_target = np.shape(M)[1]
317316
u = np.zeros(n_source)
318317
for i in range(n_source):
319318
r = M[i, :] - v
@@ -399,8 +398,6 @@ def transportation_matrix_entropic(a, b, M, reg, method, numItermax=10000,
399398
Advances in Neural Information Processing Systems (2016),
400399
arXiv preprint arxiv:1605.08527.
401400
'''
402-
n_source = 7
403-
n_target = 4
404401
if method.lower() == "sag":
405402
opt_v = sag_entropic_transport(a, b, M, reg, numItermax, lr)
406403
elif method.lower() == "asgd":

0 commit comments

Comments
 (0)