A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sonar: explict
[simgrid.git]
/
src
/
mc
/
mc_base.cpp
diff --git
a/src/mc/mc_base.cpp
b/src/mc/mc_base.cpp
index
a99957c
..
ff7dbe3
100644
(file)
--- a/
src/mc/mc_base.cpp
+++ b/
src/mc/mc_base.cpp
@@
-97,8
+97,8
@@
bool actor_is_enabled(smx_actor_t actor)
return true;
}
/* On the other hand if it hasn't a timeout, check if the comm is ready.*/
return true;
}
/* 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)
+ else if (act->detached
()
&& act->src_actor_ == nullptr &&
+ act->type
_
== simgrid::kernel::activity::CommImpl::Type::READY)
return (act->dst_actor_ != nullptr);
return (act->src_actor_ && act->dst_actor_);
}
return (act->dst_actor_ != nullptr);
return (act->src_actor_ && act->dst_actor_);
}