Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not require doxygen in maintainer mode
[simgrid.git] / src / surf / surf_timer.c
index 2dd6423..d61560c 100644 (file)
@@ -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)