Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2023.
[simgrid.git] / src / smpi / colls / bcast / bcast-scatter-LR-allgather.cpp
index 5ac3dc6..dccdb2d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2019. 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. */
@@ -67,8 +67,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  * Author: MPIH / modified by Ahmad Faraj
 
  ****************************************************************************/
-namespace simgrid {
-namespace smpi {
+namespace simgrid::smpi {
 int bcast__scatter_LR_allgather(void *buff, int count,
                                 MPI_Datatype data_type, int root,
                                 MPI_Comm comm)
@@ -114,7 +113,7 @@ int bcast__scatter_LR_allgather(void *buff, int count,
   }
 
   // This process is responsible for all processes that have bits
-  // set from the LSB upto (but not including) mask.  Because of
+  // set from the LSB up to (but not including) mask.  Because of
   // the "not including", we start by shifting mask back down
   // one.
 
@@ -177,5 +176,4 @@ int bcast__scatter_LR_allgather(void *buff, int count,
   return MPI_SUCCESS;
 }
 
-}
-}
+} // namespace simgrid::smpi