From fadee11e0f997ddb7a62fd7439c110dba49b08bf Mon Sep 17 00:00:00 2001 From: rofu Date: Thu, 24 Dec 2009 07:31:09 +0000 Subject: [PATCH] Change the position of the definition of C in the constructor of Solver_MCSVM_CS. --- linear.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linear.cpp b/linear.cpp index 33fcae4..9e29d66 100644 --- a/linear.cpp +++ b/linear.cpp @@ -420,9 +420,9 @@ Solver_MCSVM_CS::Solver_MCSVM_CS(const problem *prob, int nr_class, double *weig this->eps = eps; this->max_iter = max_iter; this->prob = prob; - this->C = weighted_C; this->B = new double[nr_class]; this->G = new double[nr_class]; + this->C = weighted_C; } Solver_MCSVM_CS::~Solver_MCSVM_CS() -- 2.50.1