From: Christian Heinrich Date: Fri, 6 Jul 2018 06:38:56 +0000 (+0200) Subject: [SMPI] Remove specific encoding of MPI_DATATYPE_NULL X-Git-Tag: v3_21~557 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0d0eac5662fe95b83963adb113e94504a1184e7c [SMPI] Remove specific encoding of MPI_DATATYPE_NULL This code is now being treated by MPI_DATATYPE_NULL being an object. --- diff --git a/src/smpi/mpi/smpi_datatype.cpp b/src/smpi/mpi/smpi_datatype.cpp index 954dbc96c8..3c04c85e39 100644 --- a/src/smpi/mpi/smpi_datatype.cpp +++ b/src/smpi/mpi/smpi_datatype.cpp @@ -206,9 +206,6 @@ bool Datatype::is_basic() const char* Datatype::encode(MPI_Datatype dt) { - if (dt == MPI_DATATYPE_NULL) - return "-1"; - return dt->id.c_str(); }