]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/mpi/smpi_topo.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow dlsym to call free() on memory that is allocated before mmalloc init
[simgrid.git] / src / smpi / mpi / smpi_topo.cpp
index 750f020ccabd4771823cdedec7dcaaefbbe33327..12ca7eca5fb5a163299a359282b1d101c9231242 100644 (file)
@@ -16,8 +16,7 @@
 static int assignnodes(int ndim, const std::vector<int>& factors, std::vector<int>& dims);
 static int getfactors(int num, std::vector<int>& factors);
 
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 
 void Topo::setComm(MPI_Comm comm)
 {
@@ -320,8 +319,7 @@ int Topo_Cart::Dims_create(int nnodes, int ndims, int dims[])
   return MPI_SUCCESS;
 }
 
-}
-}
+} // namespace simgrid::smpi
 
 /*
  *  assignnodes