From e78a6834f8614211434b49a8ab4802b5a75bf12d Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Wed, 23 Feb 2022 22:21:19 +0100 Subject: [PATCH] tab to spaces --- src/smpi/colls/reduce_scatter/reduce_scatter-ompi.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/smpi/colls/reduce_scatter/reduce_scatter-ompi.cpp b/src/smpi/colls/reduce_scatter/reduce_scatter-ompi.cpp index 8e9efebb81..6398ff37d9 100644 --- a/src/smpi/colls/reduce_scatter/reduce_scatter-ompi.cpp +++ b/src/smpi/colls/reduce_scatter/reduce_scatter-ompi.cpp @@ -643,10 +643,10 @@ int reduce_scatter__ompi_butterfly( precv = tmpbuf[1] - gap; if (sbuf != MPI_IN_PLACE) { - err = Datatype::copy(sbuf, totalcount, dtype, psend, totalcount, dtype); - if (MPI_SUCCESS != err) { goto cleanup_and_return; } + err = Datatype::copy(sbuf, totalcount, dtype, psend, totalcount, dtype); + if (MPI_SUCCESS != err) { goto cleanup_and_return; } } else { - err = Datatype::copy(rbuf, totalcount, dtype, psend, totalcount, dtype); + err = Datatype::copy(rbuf, totalcount, dtype, psend, totalcount, dtype); if (MPI_SUCCESS != err) { goto cleanup_and_return; } } @@ -683,7 +683,7 @@ int reduce_scatter__ompi_butterfly( /* Odd process */ Request::recv(precv, totalcount, dtype, rank - 1, COLL_TAG_REDUCE_SCATTER, comm, MPI_STATUS_IGNORE); - op->apply(precv, psend, (int*)&totalcount, dtype); + op->apply(precv, psend, (int*)&totalcount, dtype); /* Adjust rank to be the bottom "remain" ranks */ vrank = rank / 2; } -- 2.20.1