Skip to content
Snippets Groups Projects
Commit fb9c89cf authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

cleaned up

parent f9ebc80d
No related branches found
No related tags found
1 merge request!3Fix segmentation fault when SVM is trained in sequenece. Fixes issue #9
Pipeline #
......@@ -675,9 +675,6 @@ static PyObject* PyBobLearnLibsvmTrainer_train
if (subtract && divide) machine = self->cxx->train(Xseq,*PyBlitzArrayCxx_AsBlitz<double,1>(subtract),*PyBlitzArrayCxx_AsBlitz<double,1>(divide));
else machine = self->cxx->train(Xseq);
// Note: This is not a solution. I just want to see if it will work in all CI's
//PyObject* iterator2 = PyObject_GetIter(X);
return PyBobLearnLibsvmMachine_NewFromMachine(machine);
}
catch (std::exception& e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment