From a8d44af30a06f93a95884d67507b6ff2bc74e0a9 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 23 May 2023 20:18:20 -0700 Subject: modules/checkers: fix transposed seed,ticks arguments These were being supplied backwards to til_module_context_new(), which mostly just meant the seed always started @ 0 for early checkers contexts, or were just slightly different ticks values for later ones. --- src/modules/checkers/checkers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/checkers/checkers.c b/src/modules/checkers/checkers.c index f094402..16156a4 100644 --- a/src/modules/checkers/checkers.c +++ b/src/modules/checkers/checkers.c @@ -79,7 +79,7 @@ static til_module_context_t * checkers_create_context(const til_module_t *module if (((checkers_setup_t *)setup)->fill_module) size += sizeof(til_module_context_t *) * n_cpus; - ctxt = til_module_context_new(module, size, stream, ticks, seed, n_cpus, path, setup); + ctxt = til_module_context_new(module, size, stream, seed, ticks, n_cpus, path, setup); if (!ctxt) return NULL; -- cgit v1.2.3