Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move resized to its own method
[simgrid.git] / src / kernel / lmm / lagrange.cpp
index f9d999d..d08d85c 100644 (file)
@@ -49,7 +49,7 @@ static int __check_feasible(const CnstList& cnst_list, const VarList& var_list,
   for (Constraint const& cnst : cnst_list) {
     double tmp = 0;
     for (Element const& elem : cnst.enabled_element_set) {
-      lmm_variable_t var = elem.variable;
+      Variable* var = elem.variable;
       xbt_assert(var->sharing_weight > 0);
       tmp += var->value;
     }