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
Unify surf action_cost type
[simgrid.git]
/
src
/
surf
/
surf_c_bindings.cpp
diff --git
a/src/surf/surf_c_bindings.cpp
b/src/surf/surf_c_bindings.cpp
index
8628bda
..
15ab8f7
100644
(file)
--- a/
src/surf/surf_c_bindings.cpp
+++ b/
src/surf/surf_c_bindings.cpp
@@
-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();
}