summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r--gnuradio-runtime/lib/math/random.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/math/random.cc b/gnuradio-runtime/lib/math/random.cc
index dc24dbab6f..a25cc1c72e 100644
--- a/gnuradio-runtime/lib/math/random.cc
+++ b/gnuradio-runtime/lib/math/random.cc
@@ -54,7 +54,7 @@ void random::reseed(unsigned int seed)
{
d_seed = seed;
if (d_seed == 0) {
- d_rng.seed();
+ d_rng.seed(time(nullptr));
} else {
d_rng.seed(d_seed);
}