fixed bug in Python's calcEMD2 (ticket #1763)
This commit is contained in:
parent
ad8258f872
commit
a110dc14ca
@ -3383,7 +3383,7 @@ static PyObject *pycvCalcEMD2(PyObject *self, PyObject *args, PyObject *kw)
|
|||||||
PyObject *pyobj_cost_matrix = NULL;
|
PyObject *pyobj_cost_matrix = NULL;
|
||||||
CvArr* flow=NULL;
|
CvArr* flow=NULL;
|
||||||
PyObject *pyobj_flow = NULL;
|
PyObject *pyobj_flow = NULL;
|
||||||
float lower_bound = 0.0;
|
float lower_bound = FLT_MAX;
|
||||||
PyObject *userdata = NULL;
|
PyObject *userdata = NULL;
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords(args, kw, "OOi|OOOfO", (char**)keywords,
|
if (!PyArg_ParseTupleAndKeywords(args, kw, "OOi|OOOfO", (char**)keywords,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user