X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8d51848cefcf39dbe0072eacd5fc50765b8b4e37..fbcf6ab31cae1988be858f9f894dafe529c575d7:/src/smpi/bindings/smpi_pmpi_group.cpp diff --git a/src/smpi/bindings/smpi_pmpi_group.cpp b/src/smpi/bindings/smpi_pmpi_group.cpp index 3c6720fd9d..4155bf6e6f 100644 --- a/src/smpi/bindings/smpi_pmpi_group.cpp +++ b/src/smpi/bindings/smpi_pmpi_group.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -50,7 +50,7 @@ int PMPI_Group_rank(MPI_Group group, int *rank) } } -int PMPI_Group_translate_ranks(MPI_Group group1, int n, int *ranks1, MPI_Group group2, int *ranks2) +int PMPI_Group_translate_ranks(MPI_Group group1, int n, const int *ranks1, MPI_Group group2, int *ranks2) { if (group1 == MPI_GROUP_NULL || group2 == MPI_GROUP_NULL) { return MPI_ERR_GROUP; @@ -114,7 +114,7 @@ int PMPI_Group_difference(MPI_Group group1, MPI_Group group2, MPI_Group * newgro } } -int PMPI_Group_incl(MPI_Group group, int n, int *ranks, MPI_Group * newgroup) +int PMPI_Group_incl(MPI_Group group, int n, const int *ranks, MPI_Group * newgroup) { if (group == MPI_GROUP_NULL) { return MPI_ERR_GROUP; @@ -125,7 +125,7 @@ int PMPI_Group_incl(MPI_Group group, int n, int *ranks, MPI_Group * newgroup) } } -int PMPI_Group_excl(MPI_Group group, int n, int *ranks, MPI_Group * newgroup) +int PMPI_Group_excl(MPI_Group group, int n, const int *ranks, MPI_Group * newgroup) { if (group == MPI_GROUP_NULL) { return MPI_ERR_GROUP;