Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unify surf action_cost type
[simgrid.git] / src / surf / surf_c_bindings.cpp
index 8628bda..15ab8f7 100644 (file)
@@ -529,7 +529,7 @@ e_surf_action_state_t surf_action_get_state(surf_action_t action){
   return action->getState();
 }
 
-int surf_action_get_cost(surf_action_t action){
+double surf_action_get_cost(surf_action_t action){
   return action->getCost();
 }