From a8c4da5b955eab2eed9ebb03ee4b1212ec6fe042 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 20 Nov 2021 16:08:43 +0100 Subject: Multithreading seems to be working now, it was easier than expected! --- src/steps.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/steps.c') diff --git a/src/steps.c b/src/steps.c index 012e4cd..34ddcc2 100644 --- a/src/steps.c +++ b/src/steps.c @@ -1063,21 +1063,10 @@ detect_pretrans_drud(Cube cube) /* Public functions **********************************************************/ void -prepare_step(Step *step, DfsData *dd) +prepare_step(Step *step) { int i; - dd->m = 0; - dd->niss = false; - dd->lb = -1; - dd->last1 = NULLMOVE; - dd->last2 = NULLMOVE; - dd->sols = new_alglist(); - dd->current_alg = new_alg(""); - - moveset_to_list(step->moveset, dd->sorted_moves); - movelist_to_position(dd->sorted_moves, dd->move_position); - for (i = 0; i < step->ntables; i++) genptable(step->tables[i]); } -- cgit v1.3