X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ab92608267358b56adf7a803480fa2ad9608ed1b..f9436b840852218b39dce22d6057b6f223168daa:/src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp diff --git a/src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp b/src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp index 1a1fe1a2f6..775b82ea73 100644 --- a/src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp +++ b/src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp @@ -324,15 +324,13 @@ Coll_bcast_scatter_rdb_allgather::bcast ( xbt_die("we didn't receive enough !"); } - if (!is_contig || !is_homogeneous) - { - if (rank != root) - { - position = 0; - mpi_errno = MPI_Unpack(tmp_buf, nbytes, &position, buffer, - count, datatype, comm); - if (mpi_errno) xbt_die("error when unpacking %d", mpi_errno); - } + if (not is_contig || not is_homogeneous) { + if (rank != root) { + position = 0; + mpi_errno = MPI_Unpack(tmp_buf, nbytes, &position, buffer, count, datatype, comm); + if (mpi_errno) + xbt_die("error when unpacking %d", mpi_errno); + } } fn_exit: