From 081d9a75524dd18d9b592c30bb400f1688986d1e Mon Sep 17 00:00:00 2001 From: alegrand Date: Sat, 18 Dec 2004 00:17:39 +0000 Subject: [PATCH] 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 --- src/surf/maxmin.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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) { -- 2.20.1