From ac1ec275d7b2400aac50f47132d248ef7dc925e8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 17 Nov 2022 01:56:52 +0100 Subject: [PATCH] `print_array`: Format for loop --- OpenMP/linear-algebra/kernels/atax/atax.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenMP/linear-algebra/kernels/atax/atax.c b/OpenMP/linear-algebra/kernels/atax/atax.c index dc64050..c214da2 100644 --- a/OpenMP/linear-algebra/kernels/atax/atax.c +++ b/OpenMP/linear-algebra/kernels/atax/atax.c @@ -46,8 +46,7 @@ static void print_array(int nx, /// Print all numbers in the array sequentially. // Cannot parallelize this: prints have to be sequential to make sense! - for (i = 0; i < nx; i++) - { + for (i = 0; i < nx; i++) { fprintf(stderr, DATA_PRINTF_MODIFIER, y[i]); } fprintf(stderr, "\n");