X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/82f71f716643bf7c4ba1c63793439b753fcfa954..61ab70f5ec5869d57fb0712101280e304d38dcbc:/src/surf/AsClusterTorus.cpp diff --git a/src/surf/AsClusterTorus.cpp b/src/surf/AsClusterTorus.cpp index d53146eae3..acf6ebf54c 100644 --- a/src/surf/AsClusterTorus.cpp +++ b/src/surf/AsClusterTorus.cpp @@ -25,7 +25,7 @@ inline unsigned int *rankId_to_coords(int rankId, xbt_dynar_t dimensions) namespace simgrid { - namespace surf { + namespace routing { AsClusterTorus::AsClusterTorus(const char*name) : AsCluster(name) { } @@ -91,7 +91,7 @@ namespace simgrid { xbt_dynar_t dimensions = xbt_str_split(cluster->topo_parameters, ","); if (!xbt_dynar_is_empty(dimensions)) { - dimensions_ = xbt_dynar_new(sizeof(int), NULL); + dimensions_ = xbt_dynar_new(sizeof(int), nullptr); /* We are in a torus cluster * Parse attribute dimensions="dim1,dim2,dim3,...,dimN" * and safe it in a dynarray.