Changes in test/random_test.cc [39:0a01d811071f:102:81563e019fa4] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/random_test.cc
r39 r102 25 25 /// 26 26 27 int seed_array[] = {1, 2}; 28 27 29 int main() 28 30 { … … 34 36 //Does gamma work with integer k? 35 37 a=lemon::rnd.gamma(4.0,0); 38 a=lemon::rnd.poisson(.5); 39 40 lemon::rnd.seed(100); 41 lemon::rnd.seed(seed_array, seed_array + 42 (sizeof(seed_array) / sizeof(seed_array[0]))); 43 44 return 0; 36 45 }
Note: See TracChangeset
for help on using the changeset viewer.