Skip to content
Snippets Groups Projects
Commit a4344c41 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed newly introduced issue in the binding

parent 814ab98d
No related branches found
No related tags found
No related merge requests found
...@@ -484,8 +484,8 @@ static PyObject* PyBobLearnEMKMeansTrainer_reset_accumulators(PyBobLearnEMKMeans ...@@ -484,8 +484,8 @@ static PyObject* PyBobLearnEMKMeansTrainer_reset_accumulators(PyBobLearnEMKMeans
PyBobLearnEMKMeansMachineObject* kmeans_machine; PyBobLearnEMKMeansMachineObject* kmeans_machine;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!", kwlist, &PyBobLearnEMKMeansMachine_Type, &kmeans_machine)) return 0; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!", kwlist, &PyBobLearnEMKMeansMachine_Type, &kmeans_machine)) return 0;
bool value = self->cxx->resetAccumulators(*kmeans_machine->cxx); self->cxx->resetAccumulators(*kmeans_machine->cxx);
return Py_BuildValue("b", value); Py_RETURN_NONE;
BOB_CATCH_MEMBER("cannot perform the reset_accumulators method", 0) BOB_CATCH_MEMBER("cannot perform the reset_accumulators method", 0)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment