diff options
author | aje <leo_g_autheron@hotmail.fr> | 2017-08-29 16:53:06 +0200 |
---|---|---|
committer | aje <leo_g_autheron@hotmail.fr> | 2017-08-29 16:53:06 +0200 |
commit | 99c0a24c6467631b326838667998ba4f219d8a24 (patch) | |
tree | b4233e8f4e58518a6a481a98a5a21141b60fbe0d /ot/lp/__init__.py | |
parent | 3cecc18f53453e79ccc00484e6cbfaa5643f269c (diff) |
Fix param order
Diffstat (limited to 'ot/lp/__init__.py')
-rw-r--r-- | ot/lp/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/lp/__init__.py b/ot/lp/__init__.py index 62afe76..5143a70 100644 --- a/ot/lp/__init__.py +++ b/ot/lp/__init__.py @@ -88,7 +88,7 @@ def emd(a, b, M, numItermax=10000): return emd_c(a, b, M, numItermax) -def emd2(a, b, M, numItermax=10000, processes=multiprocessing.cpu_count()): +def emd2(a, b, M, processes=multiprocessing.cpu_count(), numItermax=10000): """Solves the Earth Movers distance problem and returns the loss .. math:: |