]> granicus.if.org Git - liblinear/commitdiff
Change the position of the definition of C
authorrofu <rofu@16e7d947-dcc2-db11-b54a-0017319806e7>
Thu, 24 Dec 2009 07:31:09 +0000 (07:31 +0000)
committerrofu <rofu@16e7d947-dcc2-db11-b54a-0017319806e7>
Thu, 24 Dec 2009 07:31:09 +0000 (07:31 +0000)
in the constructor of Solver_MCSVM_CS.

linear.cpp

index 33fcae477601d7cd19ef98730e0f1d50cfe9ad75..9e29d6650ae95545456742e2218f797ede6ab21d 100644 (file)
@@ -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()