Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: useless negation.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 11 Oct 2019 11:59:39 +0000 (13:59 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 11 Oct 2019 12:43:32 +0000 (14:43 +0200)
src/smpi/mpi/smpi_request.cpp

index c5e7c52..52fba4a 100644 (file)
@@ -515,7 +515,7 @@ void Request::start()
     action_   = simcall_comm_isend(
         simgrid::s4u::Actor::by_pid(src_)->get_impl(), mailbox->get_impl(), size_, -1.0, buf, real_size_, &match_send,
         &xbt_free_f, // how to free the userdata if a detached send fails
-        not process->replaying() ? smpi_comm_copy_data_callback : &smpi_comm_null_copy_buffer_callback, this,
+        process->replaying() ? &smpi_comm_null_copy_buffer_callback : smpi_comm_copy_data_callback, this,
         // detach if msg size < eager/rdv switch limit
         detached_);
     XBT_DEBUG("send simcall posted");