Commit f12e3cf2 authored by Ivana CHINGOVSKA's avatar Ivana CHINGOVSKA
Browse files

fixed output of setter function

parent 580a3930
......@@ -257,7 +257,7 @@ static PyObject* PyBobLearnMLPTrainer_getTrainBiases
static int PyBobLearnMLPTrainer_setTrainBiases
(PyBobLearnMLPTrainerObject* self, PyObject* o, void* /*closure*/) {
self->cxx->setTrainBiases(PyObject_IsTrue(o));
return -1;
return 0;
}
PyDoc_STRVAR(s_error_str, "error");
......
Markdown is supported
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