From f57f886ec8b90941681d772e33d6f8d6a0c61796 Mon Sep 17 00:00:00 2001 From: jeremy89183 Date: Mon, 19 Oct 2015 13:19:10 +0800 Subject: [PATCH] fixed repeated declaration of variable j in function train. --- linear.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1