Fix segmentation fault when SVM is trained in sequenece. Fixes issue #9
1 unresolved thread
1 unresolved thread
Compare changes
+ 18
− 1
@@ -214,4 +214,21 @@ def test_training_one_class():
This one is tricky. Although the tests are passing now (most of it), the solution is not appropriate.
I guess there is some reference counter that is decremented by mistake, but I was not able to find it. @andre.anjos look at the diff, I just created a fake iterator in the end of the training.