From: biconnect Date: Fri, 31 Jul 2009 11:16:23 +0000 (+0000) Subject: - Fix some bugs (redefine w_size) X-Git-Tag: v134~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8af67142e040b8fa5fa12d8b500a770e899544ce;p=liblinear - Fix some bugs (redefine w_size) - Remove some redundant space --- diff --git a/linear.cpp b/linear.cpp index 5547974..d1560e2 100644 --- a/linear.cpp +++ b/linear.cpp @@ -259,7 +259,7 @@ double l2loss_svm_fun::fun(double *w) double f=0; int *y=prob->y; int l=prob->l; - int w_size=get_nr_variable(); + int w_size=get_nr_variable(); Xv(w, z); for(i=0;iy; int l=prob->l; - int w_size=get_nr_variable(); + int w_size=get_nr_variable(); sizeI = 0; for (i=0;i