vendor/scs/src/aa.c in scs-0.3.2 vs vendor/scs/src/aa.c in scs-0.4.0

- old
+ new

@@ -197,11 +197,10 @@ for (i = 0; i < len; ++i) { a->M[i + len * i] += r; } } TIME_TOC - return; } /* initialize accel params, in particular x_prev, f_prev, g_prev */ static void init_accel_params(const aa_float *x, const aa_float *f, AaWork *a) { TIME_TIC @@ -276,11 +275,10 @@ /* compute ||g|| = ||f - x|| */ a->norm_g = BLAS(nrm2)(&bdim, a->g, &one); TIME_TOC - return; } /* f = (1-relaxation) * \sum_i a_i x_i + relaxation * \sum_i a_i f_i */ static void relax(aa_float *f, AaWork *a, aa_int len) { TIME_TIC @@ -491,18 +489,16 @@ if (a->x_work) { free(a->x_work); } free(a); } - return; } void aa_reset(AaWork *a) { /* to reset we simply set a->iter = 0 */ if (a->verbosity > 0) { printf("AA reset.\n"); } a->iter = 0; - return; } #endif