Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Replay: Use MPI_REQUEST_NULL instead of nullptr
[simgrid.git] / src / smpi / internals / smpi_replay.cpp
index 3e4ec9b..72b7be0 100644 (file)
@@ -670,7 +670,7 @@ public:
     // if request is null here, this may mean that a previous test has succeeded
     // Different times in traced application and replayed version may lead to this
     // In this case, ignore the extra calls.
-    if (request != nullptr) {
+    if (request != MPI_REQUEST_NULL) {
       TRACE_smpi_testing_in(my_proc_id);
 
       MPI_Status status;