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

Shorten expression.

parent 97a02629
No related branches found
No related tags found
No related merge requests found
......@@ -139,9 +139,9 @@ int main(int argc, char **argv) {
MPI_Comm comm = MPI_COMM_WORLD;
xt_mpi_call(MPI_Isend(send_buf, 1, MPI_INT, (rank + 1)%size, 0,
MPI_COMM_WORLD, &requests[0]), MPI_COMM_WORLD);
MPI_COMM_WORLD, requests+0), MPI_COMM_WORLD);
xt_mpi_call(MPI_Irecv(recv_buf, 1, MPI_INT, (rank - 1 + size)%size, 0,
MPI_COMM_WORLD, &requests[1]), MPI_COMM_WORLD);
MPI_COMM_WORLD, requests+1), MPI_COMM_WORLD);
MPI_Datatype unpack_datatype[1] = {MPI_INT};
int neigh_rank;
......
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