ext/libsvm/svm.cpp in rb-libsvm-1.1.1 vs ext/libsvm/svm.cpp in rb-libsvm-1.1.2
- old
+ new
@@ -2745,9 +2745,10 @@
model->rho = NULL;
model->probA = NULL;
model->probB = NULL;
model->label = NULL;
model->nSV = NULL;
+ model->sv_indices = NULL;
char cmd[81];
while(1)
{
fscanf(fp,"%80s",cmd);