X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/90069d83ac5270136aa713147bee6e691ed3941f..13c5da75068f441142fcf93d4d78124a7885d116:/src/surf/surf_timer.c?ds=sidebyside diff --git a/src/surf/surf_timer.c b/src/surf/surf_timer.c index 2dd64236ed..d61560c285 100644 --- a/src/surf/surf_timer.c +++ b/src/surf/surf_timer.c @@ -115,7 +115,7 @@ static void update_actions_state(double now, double delta) static void update_resource_state(void *id, tmgr_trace_event_t event_type, - double value) + double value, double date) { command_t command = id; @@ -256,8 +256,6 @@ static void surf_timer_model_init_internal(void) empty_trace = tmgr_empty_trace_new(); timer_heap = xbt_heap_new(8, NULL); - - xbt_assert0(maxmin_system, "surf_init has to be called first!"); } void surf_timer_model_init(const char *filename)