From: alegrand Date: Sat, 18 Dec 2004 00:17:39 +0000 (+0000) Subject: This function has been accidentally deleted in the last version... X-Git-Tag: v3.3~4664 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/081d9a75524dd18d9b592c30bb400f1688986d1e This function has been accidentally deleted in the last version... git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@686 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index 3dd91a28ae..fbe6327be5 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -347,6 +347,14 @@ void lmm_update_variable_bound(lmm_system_t sys, lmm_variable_t var, var->bound = bound; } +void lmm_update_variable_weight(lmm_system_t sys, lmm_variable_t var, + double weight) +{ + sys->modified = 1; + var->weight = weight; +} + + double lmm_get_variable_weight(lmm_system_t sys, lmm_variable_t var) {