summaryrefslogtreecommitdiff
path: root/ot
diff options
context:
space:
mode:
authorNicolas Courty <Nico@pc-mna-08.univ-ubs.fr>2017-07-10 18:04:27 +0200
committerNicolas Courty <Nico@pc-mna-08.univ-ubs.fr>2017-07-10 18:04:27 +0200
commit2f2b710d0005044e004fbfed851aefebbee007f6 (patch)
treec8a7fa8104f8d910c54279b7e8880fc3a39d76c6 /ot
parent8845f0ac1b5ec734a040d180a07fd206b3d7f9cf (diff)
correction on Win64 bug
Diffstat (limited to 'ot')
-rw-r--r--ot/lp/EMD_wrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot/lp/EMD_wrapper.cpp b/ot/lp/EMD_wrapper.cpp
index 52cd262..cad4750 100644
--- a/ot/lp/EMD_wrapper.cpp
+++ b/ot/lp/EMD_wrapper.cpp
@@ -18,8 +18,8 @@
void EMD_wrap(int n1,int n2, double *X, double *Y,double *D, double *G, double *cost) {
// beware M and C anre strored in row major C style!!!
int n, m, i,cur;
- double max,max_iter;
-
+ double max;
+ int max_iter=10000;
typedef FullBipartiteDigraph Digraph;
DIGRAPH_TYPEDEFS(FullBipartiteDigraph);