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
Add seed management to have independant streams.
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
87c8135
..
fc71eeb
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-1127,7
+1127,7
@@
void init_randomness(void)
void add_randomness(void)
{
/* If needed aditional properties can be added by using the prop tag */
void add_randomness(void)
{
/* If needed aditional properties can be added by using the prop tag */
-
random_data_t random = random_new(random_generator
, random_min, random_max, random_mean, random_std_deviation);
+
random_data_t random = random_new(random_generator, 0
, random_min, random_max, random_mean, random_std_deviation);
xbt_dict_set(random_data_list, random_id, (void *)random, NULL);
}
xbt_dict_set(random_data_list, random_id, (void *)random, NULL);
}