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
Bug fix. The date given when updating the state of a resource was incorrect. It could...
[simgrid.git]
/
src
/
surf
/
surf_action.c
diff --git
a/src/surf/surf_action.c
b/src/surf/surf_action.c
index
273f36e
..
59e775f
100644
(file)
--- a/
src/surf/surf_action.c
+++ b/
src/surf/surf_action.c
@@
-439,6
+439,9
@@
void generic_update_actions_state_lazy(double now, double delta, surf_model_t mo
model->action_state_set((surf_action_t) action,
SURF_ACTION_DONE);
surf_action_lmm_heap_remove(model->model_private->action_heap,action);
+
+ if (model->gap_remove && model == surf_network_model)
+ model->gap_remove(action);
}
}
}