mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-25 17:44:23 +00:00
print_array
: Format for loop
This commit is contained in:
parent
c5c79e00c4
commit
ac1ec275d7
1 changed files with 1 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue