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
move the cmake files in tools/cmake
[simgrid.git]
/
src
/
surf
/
maxmin.cpp
diff --git
a/src/surf/maxmin.cpp
b/src/surf/maxmin.cpp
index
fc8b453
..
2ed593c
100644
(file)
--- a/
src/surf/maxmin.cpp
+++ b/
src/surf/maxmin.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2004-201
4
. The SimGrid Team.
+/* Copyright (c) 2004-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-48,7
+48,7
@@
lmm_system_t lmm_system_new(int selective_update)
l->selective_update_active = selective_update;
l->visited_counter = 1;
l->selective_update_active = selective_update;
l->visited_counter = 1;
- XBT_DEBUG("Setting selective_update_active flag to %d
\n
",
+ XBT_DEBUG("Setting selective_update_active flag to %d",
l->selective_update_active);
xbt_swag_init(&(l->variable_set),
l->selective_update_active);
xbt_swag_init(&(l->variable_set),
@@
-676,7
+676,7
@@
void lmm_solve(lmm_system_t sys)
cnst->usage = elem->value / elem->variable->weight;
make_elem_active(elem);
cnst->usage = elem->value / elem->variable->weight;
make_elem_active(elem);
- Action
Ptr action = static_cast<ActionPtr
>(elem->variable->id);
+ Action
*action = static_cast<Action*
>(elem->variable->id);
if (sys->keep_track && !action->is_linked())
sys->keep_track->push_back(*action);
}
if (sys->keep_track && !action->is_linked())
sys->keep_track->push_back(*action);
}