summaryrefslogtreecommitdiff
path: root/ot/lp
diff options
context:
space:
mode:
authorAntoine Rolet <antoine.rolet@gmail.com>2017-09-05 15:36:03 +0900
committerAntoine Rolet <antoine.rolet@gmail.com>2017-09-05 15:36:03 +0900
commit0bb8ec8bf8061aa7ad2299b04b8368b46b56be41 (patch)
tree631f1011ac562bab272d232eb677f0fbe56f5a6d /ot/lp
parent13dfb3ddbbd8926b4751b82dd41c5570253b1f07 (diff)
Removed declaration of unused variable
Diffstat (limited to 'ot/lp')
-rw-r--r--ot/lp/EMD_wrapper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ot/lp/EMD_wrapper.cpp b/ot/lp/EMD_wrapper.cpp
index 8ac43c7..8e74462 100644
--- a/ot/lp/EMD_wrapper.cpp
+++ b/ot/lp/EMD_wrapper.cpp
@@ -18,8 +18,7 @@
int EMD_wrap(int n1, int n2, double *X, double *Y, double *D, double *G,
double* alpha, double* beta, double *cost, int max_iter) {
// beware M and C anre strored in row major C style!!!
- int n, m, i, cur;
- double max;
+ int n, m, i, cur;
typedef FullBipartiteDigraph Digraph;
DIGRAPH_TYPEDEFS(FullBipartiteDigraph);