Skip to content

Commit 99c0a24

Browse files
committed
Fix param order
1 parent 3cecc18 commit 99c0a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ot/lp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def emd(a, b, M, numItermax=10000):
8888

8989
return emd_c(a, b, M, numItermax)
9090

91-
def emd2(a, b, M, numItermax=10000, processes=multiprocessing.cpu_count()):
91+
def emd2(a, b, M, processes=multiprocessing.cpu_count(), numItermax=10000):
9292
"""Solves the Earth Movers distance problem and returns the loss
9393
9494
.. math::

0 commit comments

Comments
 (0)