]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/mc_base.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Call set_remains() before set_state().
[simgrid.git] / src / mc / mc_base.cpp
index a99957ca21cc25650dacbd648ad6a7d1cf00856f..d44192625b8eae497245804fb3d9318a8f3f58a8 100644 (file)
@@ -98,7 +98,7 @@ bool actor_is_enabled(smx_actor_t actor)
       }
       /* On the other hand if it hasn't a timeout, check if the comm is ready.*/
       else if (act->detached && act->src_actor_ == nullptr &&
-               act->type == simgrid::kernel::activity::CommImpl::Type::READY)
+               act->type_ == simgrid::kernel::activity::CommImpl::Type::READY)
         return (act->dst_actor_ != nullptr);
       return (act->src_actor_ && act->dst_actor_);
     }