Skip to content

Commit

Permalink
fix: mpi.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Noxira authored Mar 17, 2023
1 parent 4667184 commit 4a80bff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/open-mpi/mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ void print_result()
{
for (int l = 0; l < source.size; l++)
{
double complex el = freq_domain.mat[k][l];
double complex el =
freq_domain.mat[k * freq_domain.size + l];
sum += el;
}
}
Expand Down

0 comments on commit 4a80bff

Please sign in to comment.