From: Lucas Mello Schnorr Date: Tue, 19 Jan 2016 10:54:04 +0000 (-0200) Subject: [action replay] verify both optional parameters in allgatherv X-Git-Tag: v3_13~1207^2~4 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/53a592b2dfcab941b6e70cd0386f489d0e337813 [action replay] verify both optional parameters in allgatherv --- diff --git a/src/smpi/smpi_replay.c b/src/smpi/smpi_replay.c index e0969babb0..1f2d9a131f 100644 --- a/src/smpi/smpi_replay.c +++ b/src/smpi/smpi_replay.c @@ -937,7 +937,7 @@ static void action_allgatherv(const char *const *action) { int recv_sum=0; MPI_Datatype MPI_CURRENT_TYPE2; - if(action[3+comm_size]) { + if(action[3+comm_size] && action[4+comm_size]) { MPI_CURRENT_TYPE = decode_datatype(action[3+comm_size]); MPI_CURRENT_TYPE2 = decode_datatype(action[4+comm_size]); } else {