X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6708b279e302e756cca27951a03a0d0f05b62277..390ee57ed79bf7577c2bce6df6a25aba57ff476e:/src/surf/maxmin.cpp?ds=sidebyside diff --git a/src/surf/maxmin.cpp b/src/surf/maxmin.cpp index a96e470de0..623a3b28f5 100644 --- a/src/surf/maxmin.cpp +++ b/src/surf/maxmin.cpp @@ -74,7 +74,7 @@ inline void lmm_increase_concurrency(lmm_element_t elem) { "Concurrency limit overflow!"); } -lmm_system_t lmm_system_new(int selective_update) +lmm_system_t lmm_system_new(bool selective_update) { lmm_system_t l = nullptr; s_lmm_variable_t var; @@ -102,6 +102,8 @@ lmm_system_t lmm_system_new(int selective_update) lmm_variable_mallocator_free_f, lmm_variable_mallocator_reset_f); + l->solve_fun = &lmm_solve; + return l; }