From: degomme Date: Fri, 13 Apr 2018 12:06:31 +0000 (+0200) Subject: that was fixed locally, shouldn't have been able to push... X-Git-Tag: v3.20~431 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d3712fd9c6b068a362fc73454b99ccfbadb0e2c9 that was fixed locally, shouldn't have been able to push... --- diff --git a/src/smpi/bindings/smpi_pmpi_coll.cpp b/src/smpi/bindings/smpi_pmpi_coll.cpp index 8c246d8d09..2593fa3bcc 100644 --- a/src/smpi/bindings/smpi_pmpi_coll.cpp +++ b/src/smpi/bindings/smpi_pmpi_coll.cpp @@ -415,6 +415,7 @@ int PMPI_Scan(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MP retval = MPI_ERR_OP; } else { int rank = simgrid::s4u::this_actor::get_pid(); + void* sendtmpbuf = sendbuf; if (sendbuf == MPI_IN_PLACE) { sendtmpbuf = static_cast(xbt_malloc(count * datatype->size())); memcpy(sendtmpbuf, recvbuf, count * datatype->size());