Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Don't leave model-checked processes around
[simgrid.git] / src / mc / mc_request.cpp
index 56e960e..c77bc95 100644 (file)
@@ -6,11 +6,11 @@
 
 #include <assert.h>
 
-#include "mc_request.h"
-#include "mc_safety.h"
-#include "mc_private.h"
-#include "mc_smx.h"
-#include "mc_xbt.hpp"
+#include "src/mc/mc_request.h"
+#include "src/mc/mc_safety.h"
+#include "src/mc/mc_private.h"
+#include "src/mc/mc_smx.h"
+#include "src/mc/mc_xbt.hpp"
 
 using simgrid::mc::remote;
 
@@ -158,7 +158,7 @@ int MC_request_depend(smx_simcall_t r1, smx_simcall_t r2)
     return simcall_comm_irecv__get__rdv(r1) == simcall_comm_irecv__get__rdv(r2);
   case SIMCALL_COMM_WAIT:
     if (synchro1->comm.src_buff == synchro2->comm.src_buff
-        && synchro2->comm.dst_buff == synchro2->comm.dst_buff)
+        && synchro1->comm.dst_buff == synchro2->comm.dst_buff)
       return FALSE;
     else if (synchro1->comm.src_buff != NULL
         && synchro1->comm.dst_buff != NULL