Skip to content
Snippets Groups Projects
Commit 432c444d authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Use different formulation for pointer expression.

parent cc1bd22a
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ int main(int argc, char **argv) {
for (int i = 0; i < size; ++i)
xt_mpi_call(MPI_Irecv(recv_buf + (size_t)i * msg_size,
(int)msg_size, MPI_INT, i, 0,
MPI_COMM_WORLD, &(requests[i])), MPI_COMM_WORLD);
MPI_COMM_WORLD, requests + i), MPI_COMM_WORLD);
Xt_request request = xt_request_msgs_new(n, requests, comm);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment