ext/numo/liblinear/src/linear.cpp in numo-liblinear-2.1.1 vs ext/numo/liblinear/src/linear.cpp in numo-liblinear-2.2.0

- old
+ new

@@ -656,10 +656,10 @@ void Solver_MCSVM_CS::Solve(double *w) { int i, m, s; int iter = 0; - double *alpha = new double[l*nr_class]; + double *alpha = new double[l*nr_class]; double *alpha_new = new double[nr_class]; int *index = new int[l]; double *QD = new double[l]; int *d_ind = new int[nr_class]; double *d_val = new double[nr_class];