From 8d3fc9f5f9c0593fcae9c451efe6c89c64dcbe84 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 29 Apr 2025 10:08:04 +0200 Subject: Added stop / pause / resume solve to API --- tools/301_solve_file/solve_file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/301_solve_file') diff --git a/tools/301_solve_file/solve_file.c b/tools/301_solve_file/solve_file.c index d9084fd..be4d1f5 100644 --- a/tools/301_solve_file/solve_file.c +++ b/tools/301_solve_file/solve_file.c @@ -24,7 +24,8 @@ void run(void) { continue; } nsols = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, - 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats); + 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats, + NULL, NULL); if (nsols == 0) printf("No solution found\n"); else -- cgit v1.3