Skip to content

Commit 0bbd36c

Browse files
committed
cleanupt cpp wrapper name
1 parent a84f2c3 commit 0bbd36c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ot/lp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import numpy as np
77
# import compiled emd
8-
from .emd import emd_c, emd2_c
8+
from .emd_wrap import emd_c, emd2_c
99
from ..utils import parmap
1010
import multiprocessing
1111

File renamed without changes.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
url='https://github.com/rflamary/POT',
3939
packages=find_packages(),
4040
ext_modules = cythonize(Extension(
41-
"ot.lp.emd", # the extension name
42-
sources=["ot/lp/emd.pyx", "ot/lp/EMD_wrap.cpp"], # the Cython source and
41+
"ot.lp.emd_wrap", # the extension name
42+
sources=["ot/lp/emd_wrap.pyx", "ot/lp/EMD_wrap.cpp"], # the Cython source and
4343
# additional C++ source files
4444
language="c++", # generate and compile C++ code,
4545
include_dirs=[numpy.get_include(),os.path.join(ROOT,'ot/lp')])),

0 commit comments

Comments
 (0)