projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad8258f
)
fixed bug in Python's calcEMD2 (ticket #1763)
author
Vadim Pisarevsky
<no@email>
Tue, 24 Apr 2012 14:22:05 +0000
(14:22 +0000)
committer
Vadim Pisarevsky
<no@email>
Tue, 24 Apr 2012 14:22:05 +0000
(14:22 +0000)
modules/python/src2/cv2.cv.hpp
patch
|
blob
|
history
diff --git
a/modules/python/src2/cv2.cv.hpp
b/modules/python/src2/cv2.cv.hpp
index
b90ff7a
..
0a6d5e2
100644
(file)
--- a/
modules/python/src2/cv2.cv.hpp
+++ b/
modules/python/src2/cv2.cv.hpp
@@
-3383,7
+3383,7
@@
static PyObject *pycvCalcEMD2(PyObject *self, PyObject *args, PyObject *kw)
PyObject *pyobj_cost_matrix = NULL;
CvArr* flow=NULL;
PyObject *pyobj_flow = NULL;
- float lower_bound =
0.0
;
+ float lower_bound =
FLT_MAX
;
PyObject *userdata = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kw, "OOi|OOOfO", (char**)keywords,