summaryrefslogtreecommitdiff
path: root/tabulator-mpi/worker.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-06-07 01:15:41 -0400
committerBenji Dial <benji@benjidial.net>2023-06-07 01:15:41 -0400
commita9afa12358ddcf413b9b0ca68b7e12f6db49a36e (patch)
treef5e49fa258dc68c814d4868da773c2e1ece7473b /tabulator-mpi/worker.cpp
parentc33cd477060bcf5400aaa4ae2283098a4103f2e6 (diff)
downloadlib94-a9afa12358ddcf413b9b0ca68b7e12f6db49a36e.tar.gz
actually seed prng
Diffstat (limited to 'tabulator-mpi/worker.cpp')
-rw-r--r--tabulator-mpi/worker.cpp1
1 files changed, 1 insertions, 0 deletions
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) {