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
MPI_Comm_dup_with_info
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_group.cpp
diff --git
a/src/smpi/mpi/smpi_group.cpp
b/src/smpi/mpi/smpi_group.cpp
index
f8eb81c
..
68d86f8
100644
(file)
--- a/
src/smpi/mpi/smpi_group.cpp
+++ b/
src/smpi/mpi/smpi_group.cpp
@@
-106,7
+106,7
@@
int Group::compare(MPI_Group group2)
return result;
}
return result;
}
-int Group::incl(int n, int* ranks, MPI_Group* newgroup)
+int Group::incl(int n,
const
int* ranks, MPI_Group* newgroup)
{
int i=0;
if (n == 0) {
{
int i=0;
if (n == 0) {
@@
-206,7
+206,7
@@
int Group::difference(MPI_Group group2, MPI_Group* newgroup)
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}
-int Group::excl(int n, int *ranks, MPI_Group * newgroup){
+int Group::excl(int n,
const
int *ranks, MPI_Group * newgroup){
int oldsize = size_;
int newsize = oldsize - n;
*newgroup = new Group(newsize);
int oldsize = size_;
int newsize = oldsize - n;
*newgroup = new Group(newsize);