Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -344,7 +344,7 @@ static auto log_likelihood = bob::extension::VariableDoc( ...@@ -344,7 +344,7 @@ static auto log_likelihood = bob::extension::VariableDoc(
); );
PyObject* PyBobLearnEMGMMStats_getLog_likelihood(PyBobLearnEMGMMStatsObject* self, void*){ PyObject* PyBobLearnEMGMMStats_getLog_likelihood(PyBobLearnEMGMMStatsObject* self, void*){
BOB_TRY BOB_TRY
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) BOB_CATCH_MEMBER("log_likelihood could not be read", 0)
} }
int PyBobLearnEMGMMStats_setLog_likelihood(PyBobLearnEMGMMStatsObject* self, PyObject* value, void*){ int PyBobLearnEMGMMStats_setLog_likelihood(PyBobLearnEMGMMStatsObject* self, PyObject* value, void*){
......
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