Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2023.
[simgrid.git] / src / smpi / colls / reduce / reduce-rab.cpp
index 38f2f88..4d3e128 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-2023. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -581,8 +581,7 @@ static void MPI_I_do_op(void* b1, void* b2, void* rslt, int cnt, MPIM_Datatype d
 }
 
 REDUCE_LIMITS
-namespace simgrid {
-namespace smpi {
+namespace simgrid::smpi {
 static int MPI_I_anyReduce(const void* Sendbuf, void* Recvbuf, int count, MPI_Datatype mpi_datatype, MPI_Op mpi_op,
                            int root, MPI_Comm comm, bool is_all)
 {
@@ -1024,5 +1023,4 @@ int allreduce__rab(const void* Sendbuf, void* Recvbuf, int count, MPI_Datatype d
 {
   return MPI_I_anyReduce(Sendbuf, Recvbuf, count, datatype, op, -1, comm, true);
 }
-}
-}
+} // namespace simgrid::smpi