X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e51fd157704f026607d5ef1b79334cb2decf8d5f..c0f3756528127131a1947179f56871657a084259:/src/surf/network_interface.cpp diff --git a/src/surf/network_interface.cpp b/src/surf/network_interface.cpp index c57f111915..d462377dc3 100644 --- a/src/surf/network_interface.cpp +++ b/src/surf/network_interface.cpp @@ -102,7 +102,7 @@ double NetworkModel::next_occuring_event_full(double now) { double minRes = Model::next_occuring_event_full(now); - for (Action const& action : *get_running_action_set()) { + for (Action const& action : *get_started_action_set()) { const NetworkAction& net_action = static_cast(action); if (net_action.latency_ > 0) minRes = (minRes < 0) ? net_action.latency_ : std::min(minRes, net_action.latency_);