A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This function has been accidentally deleted in the last version...
[simgrid.git]
/
src
/
surf
/
maxmin.c
diff --git
a/src/surf/maxmin.c
b/src/surf/maxmin.c
index
3dd91a2
..
fbe6327
100644
(file)
--- 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)
{