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
Adding function to indicate whether an action is suspended or not.
[simgrid.git]
/
src
/
surf
/
maxmin.c
diff --git
a/src/surf/maxmin.c
b/src/surf/maxmin.c
index
9b5a48f
..
3dd91a2
100644
(file)
--- a/
src/surf/maxmin.c
+++ b/
src/surf/maxmin.c
@@
-347,11
+347,10
@@
void lmm_update_variable_bound(lmm_system_t sys, lmm_variable_t var,
var->bound = bound;
}
var->bound = bound;
}
-void lmm_update_variable_weight(lmm_system_t sys, lmm_variable_t var,
- double weight)
+double lmm_get_variable_weight(lmm_system_t sys, lmm_variable_t var)
+
{
{
- sys->modified = 1;
- var->weight = weight;
+ return var->weight;
}
void lmm_update_constraint_bound(lmm_system_t sys, lmm_constraint_t cnst,
}
void lmm_update_constraint_bound(lmm_system_t sys, lmm_constraint_t cnst,