Skip to content

Commit 8046b8c

Browse files
committed
pep8
1 parent d370f18 commit 8046b8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ It provides the following solvers:
1616
* OT Network Flow solver for the linear program/ Earth Movers Distance [1].
1717
* Entropic regularization OT solver with Sinkhorn Knopp Algorithm [2] and stabilized version [9][10] with optional GPU implementation (requires cudamat).
1818
* Smooth optimal transport solvers (dual and semi-dual) for KL and squared L2 regularization [17].
19-
* Non regularized Wasserstein barycenters [16] with LP solver.
19+
* Non regularized Wasserstein barycenters [16] with LP solver (only small scale).
2020
* Bregman projections for Wasserstein barycenter [3] and unmixing [4].
2121
* Optimal transport for domain adaptation with group lasso regularization [5]
2222
* Conditional gradient [6] and Generalized conditional gradient for regularized OT [7].

ot/smooth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def smooth_ot_semi_dual(a, b, M, reg, reg_type='l2', method="L-BFGS-B", stopThr=
580580
raise NotImplementedError('Unknown regularization')
581581

582582
# solve dual
583-
alpha, res = solve_semi_dual(a, b, M, regul, max_iter=numItermax,
583+
alpha, res = solve_semi_dual(a, b, M, regul, max_iter=numItermax,
584584
tol=stopThr, verbose=verbose)
585585

586586
# reconstruct transport matrix

0 commit comments

Comments
 (0)