From 0d0eac5662fe95b83963adb113e94504a1184e7c Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Fri, 6 Jul 2018 08:38:56 +0200 Subject: [PATCH] [SMPI] Remove specific encoding of MPI_DATATYPE_NULL This code is now being treated by MPI_DATATYPE_NULL being an object. --- src/smpi/mpi/smpi_datatype.cpp | 3 --- 1 file changed, 3 deletions(-) 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(); } -- 2.20.1