Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Declare functions "const" (sonar).
[simgrid.git] / src / surf / ptask_L07.cpp
index 209639d8d199a0c1cd18983f22a38e8d9ff4fc3b..357dd10ddc7a655f4dedb45b530c4b73a74f005c 100644 (file)
@@ -205,7 +205,7 @@ L07Action::L07Action(Model* model, const std::vector<s4u::Host*>& host_list, con
    * communication either */
   for (size_t i = 0; i < host_nb; i++) {
     model->get_maxmin_system()->expand(host_list[i]->get_cpu()->get_constraint(), get_variable(),
-                                       (flops_amount == nullptr ? 0.0 : flops_amount[i]));
+                                       (flops_amount == nullptr ? 0.0 : flops_amount[i]), true);
   }
 
   if (bytes_amount != nullptr) {