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
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git]
/
src
/
mc
/
api
/
strategy
/
Strategy.hpp
diff --git
a/src/mc/api/strategy/Strategy.hpp
b/src/mc/api/strategy/Strategy.hpp
index
f496ef5
..
60e21f5
100644
(file)
--- a/
src/mc/api/strategy/Strategy.hpp
+++ b/
src/mc/api/strategy/Strategy.hpp
@@
-66,10
+66,10
@@
public:
{
unsigned long count = 0;
for (auto& [_, actor] : actors_to_run_)
- if (actor.is_enabled() && not actor.is_done()) {
- actor.mark_todo();
- count++;
- }
+
if (actor.is_enabled() && not actor.is_done()) {
+
actor.mark_todo();
+
count++;
+
}
return count;
}