Skip to content

Commit

Permalink
fix broken free_feature_vector call in wdsvmocas
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Oct 13, 2011
1 parent 74bf297 commit a6e49bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/classifier/svm/WDSVMOcas.h
Expand Up @@ -190,7 +190,7 @@ class CWDSVMOcas : public CMachine
offs+=w_offsets[k];
}
}
features->free_feature_vector(vec, len, free_vec);
features->free_feature_vector(vec, num, free_vec);
return sum/normalization_const;
}

Expand Down

0 comments on commit a6e49bb

Please sign in to comment.