summaryrefslogtreecommitdiff
path: root/ot
diff options
context:
space:
mode:
Diffstat (limited to 'ot')
-rw-r--r--ot/lp/EMD.h4
-rw-r--r--ot/lp/emd_wrap.pyx4
2 files changed, 0 insertions, 8 deletions
diff --git a/ot/lp/EMD.h b/ot/lp/EMD.h
index fc94211..2adaace 100644
--- a/ot/lp/EMD.h
+++ b/ot/lp/EMD.h
@@ -36,9 +36,5 @@ int EMD_wrap_return_sparse(int n1, int n2, double *X, double *Y, double *D,
long *iG, long *jG, double *G, long * nG,
double* alpha, double* beta, double *cost, int maxIter);
-int EMD_wrap_all_sparse(int n1, int n2, double *X, double *Y,
- long *iD, long *jD, double *D, long nD,
- long *iG, long *jG, double *G, long * nG,
- double* alpha, double* beta, double *cost, int maxIter);
#endif
diff --git a/ot/lp/emd_wrap.pyx b/ot/lp/emd_wrap.pyx
index 3220d12..c0d7128 100644
--- a/ot/lp/emd_wrap.pyx
+++ b/ot/lp/emd_wrap.pyx
@@ -23,10 +23,6 @@ cdef extern from "EMD.h":
int EMD_wrap_return_sparse(int n1, int n2, double *X, double *Y, double *D,
long *iG, long *jG, double *G, long * nG,
double* alpha, double* beta, double *cost, int maxIter)
- int EMD_wrap_all_sparse(int n1, int n2, double *X, double *Y,
- long *iD, long *jD, double *D, long nD,
- long *iG, long *jG, double *G, long * nG,
- double* alpha, double* beta, double *cost, int maxIter)
cdef enum ProblemType: INFEASIBLE, OPTIMAL, UNBOUNDED, MAX_ITER_REACHED