From 4a88a686d5e08404080ed6954b70c0db252aa220 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 14 Dec 2024 11:59:22 +0100 Subject: Allow choosing number of threads when calling solve() --- python/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/example.py') diff --git a/python/example.py b/python/example.py index fdea2d4..b939183 100644 --- a/python/example.py +++ b/python/example.py @@ -23,7 +23,7 @@ data = bytearray(open("tables/" + solver, "rb").read()) cube = nissy.applymoves(nissy.solved_cube, "U F R2"); # Solve! -solutions = nissy.solve(cube, solver, nissy.nissflag_normal, 0, 9, 3, -1, data) +solutions = nissy.solve(cube, solver, nissy.nissflag_normal, 0, 9, 3, -1, 4, data) # Print the solutions, one per line print("Found ", len(solutions), " solutions:") -- cgit v1.3