diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2018-03-21 08:29:50 +0100 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2018-03-21 08:29:50 +0100 |
commit | 6fdf5de8fa27fa16d6b8910fe96eb67b7761aa0e (patch) | |
tree | 55b8d6e463b131134b4aa9d4e3013bbb77811da6 /ot/lp | |
parent | 287c659ad35f5036ba2687caf73009ef455c7239 (diff) |
add linear mapping test + autopep8
Diffstat (limited to 'ot/lp')
-rw-r--r-- | ot/lp/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ot/lp/__init__.py b/ot/lp/__init__.py index 5c09da2..6371feb 100644 --- a/ot/lp/__init__.py +++ b/ot/lp/__init__.py @@ -107,7 +107,8 @@ def emd(a, b, M, numItermax=100000, log=False): return G -def emd2(a, b, M, processes=multiprocessing.cpu_count(), numItermax=100000, log=False, return_matrix=False): +def emd2(a, b, M, processes=multiprocessing.cpu_count(), + numItermax=100000, log=False, return_matrix=False): """Solves the Earth Movers distance problem and returns the loss .. math:: |