Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge cpu and network for action functions.
[simgrid.git] / src / surf / network_constant.c
index 0a2251c..57d8f55 100644 (file)
@@ -217,7 +217,7 @@ void surf_network_model_init_Constant()
   surf_network_model->suspend = netcste_action_suspend;
   surf_network_model->resume = netcste_action_resume;
   surf_network_model->is_suspended = netcste_action_is_suspended;
-  surf_cpu_model->set_max_duration = net_action_set_max_duration;
+  surf_cpu_model->set_max_duration = surf_action_set_max_duration;
 
   surf_network_model->extension.network.communicate = netcste_communicate;
   surf_network_model->extension.network.get_link_bandwidth =