Commit 3f34d220 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

really ignore rng

parent 5643c20a
Pipeline #11988 passed with stages
in 21 minutes
......@@ -318,10 +318,10 @@ static PyObject* PyBobLearnEMMAPGMMTrainer_initialize(PyBobLearnEMMAPGMMTrainerO
PyBobLearnEMGMMMachineObject* gmm_machine = 0;
PyObject* data;
PyBoostMt19937Object* rng = 0;
PyObject* rng;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!|OO!", kwlist, &PyBobLearnEMGMMMachine_Type, &gmm_machine,
&data, &PyBoostMt19937_Type, &rng)) return 0;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!|OO", kwlist, &PyBobLearnEMGMMMachine_Type, &gmm_machine,
&data, &rng)) return 0;
self->cxx->initialize(*gmm_machine->cxx);
......
......@@ -203,10 +203,10 @@ static PyObject* PyBobLearnEMMLGMMTrainer_initialize(PyBobLearnEMMLGMMTrainerObj
char** kwlist = initialize.kwlist(0);
PyBobLearnEMGMMMachineObject* gmm_machine = 0;
PyObject* data;
PyBoostMt19937Object* rng = 0;
PyObject* rng;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!|OO!", kwlist, &PyBobLearnEMGMMMachine_Type, &gmm_machine,
&data, &PyBoostMt19937_Type, &rng)) return 0;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!|OO", kwlist, &PyBobLearnEMGMMMachine_Type, &gmm_machine,
&data, &rng)) return 0;
self->cxx->initialize(*gmm_machine->cxx);
BOB_CATCH_MEMBER("cannot perform the initialize method", 0)
......
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