Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / src / smpi / smpi_topo.cpp
index 6ed191a..57b45a5 100644 (file)
@@ -425,9 +425,7 @@ static int assignnodes(int ndim, int nfactor, int *pfacts, int **pdims)
 
   /* Allocate and initialize the bins */
   int *bins = new int[ndim];
-  if (nullptr == bins) {
-    return MPI_ERR_NO_MEM;
-  }
+
   *pdims = bins;
   int *p = bins;