From 1e45a5adca90a45d78e00da16d397d666296484e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 17 Nov 2022 01:56:08 +0100 Subject: [PATCH] `print_array`: Remove newline after every 20 elements The terminal will handle wrapping as necessary. --- OpenMP/linear-algebra/kernels/atax/atax.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/OpenMP/linear-algebra/kernels/atax/atax.c b/OpenMP/linear-algebra/kernels/atax/atax.c index 885bc9f..0d8c64c 100644 --- a/OpenMP/linear-algebra/kernels/atax/atax.c +++ b/OpenMP/linear-algebra/kernels/atax/atax.c @@ -48,8 +48,6 @@ static void print_array(int nx, for (i = 0; i < nx; i++) { fprintf(stderr, DATA_PRINTF_MODIFIER, y[i]); - if (i % 20 == 0) - fprintf(stderr, "\n"); } fprintf(stderr, "\n"); }