Commit 70d67ded authored by iker_martin's avatar iker_martin
Browse files

Fixed minor error in Merge P2PA

parent 2220fa10
...@@ -362,7 +362,7 @@ void async_point2point(void *send, void *recv, int mal_type, struct Counts s_cou ...@@ -362,7 +362,7 @@ void async_point2point(void *send, void *recv, int mal_type, struct Counts s_cou
} }
for(i=r_counts.idI; i<r_counts.idE; i++) { for(i=r_counts.idI; i<r_counts.idE; i++) {
offset = s_counts.displs[i] * datasize; offset = r_counts.displs[i] * datasize;
MPI_Irecv(recv+offset, r_counts.counts[i], datatype, i, 99, comm, &(requests[j])); MPI_Irecv(recv+offset, r_counts.counts[i], datatype, i, 99, comm, &(requests[j]));
j++; j++;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment