Commit 4b56cf60 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Fixed bug in the log_likelihood property

parent e0b32483
......@@ -344,7 +344,7 @@ static auto log_likelihood = bob::extension::VariableDoc(
PyObject* PyBobLearnEMGMMStats_getLog_likelihood(PyBobLearnEMGMMStatsObject* self, void*){
return Py_BuildValue("d","log_likelihood", self->cxx->log_likelihood);
return Py_BuildValue("d", self->cxx->log_likelihood);
BOB_CATCH_MEMBER("log_likelihood could not be read", 0)
int PyBobLearnEMGMMStats_setLog_likelihood(PyBobLearnEMGMMStatsObject* self, PyObject* value, void*){
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment