Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Both request cannot be of the same type here
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 13 Mar 2021 19:33:14 +0000 (20:33 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 13 Mar 2021 20:09:13 +0000 (21:09 +0100)
src/mc/api.cpp

index c41fab2..9c0d0e8 100644 (file)
@@ -262,7 +262,7 @@ bool Api::request_depend_asymmetric(smx_simcall_t r1, smx_simcall_t r2) const
     return false;
 #endif
 
-  if (r1->call_ == Simcall::COMM_WAIT && (r2->call_ == Simcall::COMM_WAIT || r2->call_ == Simcall::COMM_TEST) &&
+  if (r1->call_ == Simcall::COMM_WAIT && r2->call_ == Simcall::COMM_TEST &&
       (comm1->src_actor_.get() == nullptr || comm1->dst_actor_.get() == nullptr))
     return false;