diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2017-07-26 15:25:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-26 15:25:53 +0200 |
commit | 7638d019b43e52d17600cac653939e7cd807478c (patch) | |
tree | a77441ddf844d953a3e797a3fab2a1ee3b85bf34 /ot/lp | |
parent | 1cf304cee298e2752ce29c83e5201f593722c3af (diff) | |
parent | 838550ead9cc8a66d9b9c1212c5dda2457dc59a5 (diff) |
Merge pull request #19 from rflamary/pytest
Pytest with 89% coverage
Fixes #19
Diffstat (limited to 'ot/lp')
-rw-r--r-- | ot/lp/__init__.py | 4 | ||||
-rw-r--r-- | ot/lp/emd_wrap.pyx | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/ot/lp/__init__.py b/ot/lp/__init__.py index db3da78..6e0bdb8 100644 --- a/ot/lp/__init__.py +++ b/ot/lp/__init__.py @@ -3,6 +3,10 @@ Solvers for the original linear program OT problem """ +# Author: Remi Flamary <remi.flamary@unice.fr> +# +# License: MIT License + import numpy as np # import compiled emd from .emd_wrap import emd_c, emd2_c diff --git a/ot/lp/emd_wrap.pyx b/ot/lp/emd_wrap.pyx index 46794ab..46c96c1 100644 --- a/ot/lp/emd_wrap.pyx +++ b/ot/lp/emd_wrap.pyx @@ -1,9 +1,12 @@ # -*- coding: utf-8 -*- """ -Created on Thu Sep 11 08:42:08 2014 - -@author: rflamary +Cython linker with C solver """ + +# Author: Remi Flamary <remi.flamary@unice.fr> +# +# License: MIT License + import numpy as np cimport numpy as np |