X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb80087d529671d8e3c92150c10322d31e5cee43..891fa5b18301c52ecec485bfe4390a107ecfd6c6:/src/surf/network_cm02.cpp diff --git a/src/surf/network_cm02.cpp b/src/surf/network_cm02.cpp index 1721e4cb0a..91a4622f8d 100644 --- a/src/surf/network_cm02.cpp +++ b/src/surf/network_cm02.cpp @@ -150,8 +150,7 @@ NetworkCm02Model::NetworkCm02Model() xbt_die("Unsupported optimization (%s) for this model. Accepted: Full, Lazy.", optim); } - if (!maxminSystem_) - maxminSystem_ = lmm_system_new(selectiveUpdate_); + maxminSystem_ = lmm_system_new(selectiveUpdate_); routing_model_create(createLink("__loopback__", 498000000, 0.000015, SURF_LINK_FATPIPE, nullptr)); @@ -387,11 +386,6 @@ Action *NetworkCm02Model::communicate(kernel::routing::NetCard *src, kernel::rou return action; } -bool NetworkCm02Model::next_occuring_event_isIdempotent() -{ - return true; -} - void NetworkCm02Model::gapAppend(double size, const Link* link, NetworkAction* action) { // Nothing