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
Replace #define with constexpr declarations.
[simgrid.git]
/
teshsuite
/
msg
/
cloud-capping
/
cloud-capping.c
diff --git
a/teshsuite/msg/cloud-capping/cloud-capping.c
b/teshsuite/msg/cloud-capping/cloud-capping.c
index
2b2fc31
..
3a4f493
100644
(file)
--- a/
teshsuite/msg/cloud-capping/cloud-capping.c
+++ b/
teshsuite/msg/cloud-capping/cloud-capping.c
@@
-60,10
+60,9
@@
static int worker_busy_loop_main(int argc, char* argv[])
return 0;
}
-#define DOUBLE_MAX 1e11
-
static void test_dynamic_change(void)
{
+ const double DOUBLE_MAX = 1e11;
msg_host_t pm0 = MSG_host_by_name("Fafard");
msg_vm_t vm0 = MSG_vm_create_core(pm0, "VM0");