Skip to content

Commit

Permalink
FIX print_grid 0,0 and n,n matrix params
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanalesmayo committed Dec 2, 2018
1 parent 21d6313 commit 6f59a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jacobi_seq.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ int main(int argc, char* argv[]) {

// Output final grid
printf("Final grid:\n");
print_grid(a,1,n+1);
print_grid(a,0,n+2);

// Results
printf("Results:\n");
Expand Down

0 comments on commit 6f59a11

Please sign in to comment.