From a9afa12358ddcf413b9b0ca68b7e12f6db49a36e Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 7 Jun 2023 01:15:41 -0400 Subject: actually seed prng --- tabulator-mpi/worker.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tabulator-mpi/worker.cpp') diff --git a/tabulator-mpi/worker.cpp b/tabulator-mpi/worker.cpp index ea1b17a..55121aa 100644 --- a/tabulator-mpi/worker.cpp +++ b/tabulator-mpi/worker.cpp @@ -30,6 +30,7 @@ static void do_round(const lib94::warrior *w1, const lib94::warrior *w2, int &w1 } void worker_main(const lib94::warrior *const *warriors) { + lib94::seed_prng(time(0)); int buffer[4] = {-1}; while (1) { -- cgit v1.2.3