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
Use a random generator that updates its seed so that our simulation is deterministic.
[simgrid.git]
/
src
/
surf
/
network_constant.c
diff --git
a/src/surf/network_constant.c
b/src/surf/network_constant.c
index
342fae9
..
b14662a
100644
(file)
--- a/
src/surf/network_constant.c
+++ b/
src/surf/network_constant.c
@@
-387,7
+387,7
@@
static void surf_network_model_init_internal(void)
network_card_set = xbt_dict_new();
if(!random_latency)
- random_latency = random_new(RAND, 0.0, 1.0, .125, .034);
+ random_latency = random_new(RAND,
100,
0.0, 1.0, .125, .034);
}
void surf_network_model_init_Constant(const char *filename)