From ac6840a3b3264950e6c300264cbf3937e0bcc6c5 Mon Sep 17 00:00:00 2001 From: Brendan O'Donoghue Date: Tue, 15 Feb 2022 21:52:50 +0000 Subject: [PATCH] rm unnecessary returns --- src/aa.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/aa.c b/src/aa.c index 187834ca..a7cb1865 100644 --- a/src/aa.c +++ b/src/aa.c @@ -199,7 +199,6 @@ static void set_m(AaWork *a, aa_int len) { } } TIME_TOC - return; } /* initialize accel params, in particular x_prev, f_prev, g_prev */ @@ -278,7 +277,6 @@ static void update_accel_params(const aa_float *x, const aa_float *f, AaWork *a, 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 */ @@ -493,7 +491,6 @@ void aa_finish(AaWork *a) { } free(a); } - return; } void aa_reset(AaWork *a) { @@ -502,7 +499,6 @@ void aa_reset(AaWork *a) { printf("AA reset.\n"); } a->iter = 0; - return; } #endif