diff --git a/misc/algotune/algotune.cc b/misc/algotune/algotune.cc index 2357db1..6e60a04 100644 --- a/misc/algotune/algotune.cc +++ b/misc/algotune/algotune.cc @@ -12,7 +12,7 @@ static std::mt19937 rng; static std::random_device devrand; -static void +void reseed() { rng.seed(devrand()); diff --git a/misc/algotune/algotune.h b/misc/algotune/algotune.h index cd7bc14..c57866d 100644 --- a/misc/algotune/algotune.h +++ b/misc/algotune/algotune.h @@ -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);