X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4de2a148bea34f550b79c07fb5e80ac36e6aa0e9..14618dc3963308a371947b248cef842153acffc1:/examples/cpp/dag-scheduling/s4u-dag-scheduling.cpp diff --git a/examples/cpp/dag-scheduling/s4u-dag-scheduling.cpp b/examples/cpp/dag-scheduling/s4u-dag-scheduling.cpp index 897ebccdc7..40a9ad3057 100644 --- a/examples/cpp/dag-scheduling/s4u-dag-scheduling.cpp +++ b/examples/cpp/dag-scheduling/s4u-dag-scheduling.cpp @@ -52,7 +52,7 @@ static std::vector get_ready_tasks(const std::vector candidate_execs; for (auto& a : dax) { - // Only loot at activity that have their dependencies solved but are not assigned + // Only look at activity that have their dependencies solved but are not assigned if (a->dependencies_solved() && not a->is_assigned()) { // if it is an exec, it's ready auto* exec = dynamic_cast(a.get());