A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
smpi
/
smpi_topo.cpp
diff --git
a/src/smpi/smpi_topo.cpp
b/src/smpi/smpi_topo.cpp
index
6ed191a
..
57b45a5
100644
(file)
--- a/
src/smpi/smpi_topo.cpp
+++ b/
src/smpi/smpi_topo.cpp
@@
-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;