algotune: make reseed public.
This commit is contained in:
parent
24ca2ce67c
commit
c98ca59a5e
|
@ -12,7 +12,7 @@ static std::mt19937 rng;
|
|||
static std::random_device devrand;
|
||||
|
||||
|
||||
static void
|
||||
void
|
||||
reseed()
|
||||
{
|
||||
rng.seed(devrand());
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace algotune {
|
|||
|
||||
int64_t display_step = 1000;
|
||||
|
||||
|
||||
void reseed(void);
|
||||
|
||||
int rand_int(int low, int high);
|
||||
int64_t rand_int64(int64_t low, int64_t high);
|
||||
|
|
Loading…
Reference in New Issue