Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / smpi / colls / reduce_scatter / reduce_scatter-ompi.cpp
index 6398ff3..bd651f4 100644 (file)
@@ -41,8 +41,7 @@
  *  Returns:    - MPI_SUCCESS or error code
  *  Limitation: - Works only for commutative operations.
  */
-namespace simgrid {
-namespace smpi {
+namespace simgrid::smpi {
 int reduce_scatter__ompi_basic_recursivehalving(const void *sbuf,
                                                 void *rbuf,
                                                 const int *rcounts,
@@ -803,5 +802,4 @@ cleanup_and_return:
         free(tmpbuf[1]);
     return err;
 }
-}
-}
+} // namespace simgrid::smpi