From: jeremy89183 Date: Mon, 19 Oct 2015 05:19:10 +0000 (+0800) Subject: fixed repeated declaration of variable j in function train. X-Git-Tag: v211~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f57f886ec8b90941681d772e33d6f8d6a0c61796;p=liblinear fixed repeated declaration of variable j in function train. --- diff --git a/linear.cpp b/linear.cpp index f9b9bdc..0aadba3 100644 --- a/linear.cpp +++ b/linear.cpp @@ -2386,7 +2386,7 @@ model* train(const problem *prob, const parameter *param) train_one(&sub_prob, param, w, weighted_C[i], param->C); - for(int j=0;jw[j*nr_class+i] = w[j]; } free(w);