From dc5e8188a7e29909cbdf661e9b2a80700fe0491d Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 15 Apr 2025 16:00:44 +0200 Subject: Log solutions as they are found --- src/solvers/coord/solve.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/solvers/coord/solve.h') diff --git a/src/solvers/coord/solve.h b/src/solvers/coord/solve.h index 8806d17..464f7bd 100644 --- a/src/solvers/coord/solve.h +++ b/src/solvers/coord/solve.h @@ -120,7 +120,7 @@ solve_coord_dfs(dfsarg_solve_coord_t arg[static 1]) if (!coord_solution_admissible(arg)) return 0; return appendsolution(arg->solution_moves, - arg->solution_settings, arg->solution_list); + arg->solution_settings, arg->solution_list, true); } if (solve_coord_dfs_stop(arg)) @@ -316,7 +316,7 @@ solve_coord( if (coord->coord(c, coord_data) == 0) { if (minmoves == 0 && !appendsolution( - &solution_moves, &solution_settings, &solution_list)) + &solution_moves, &solution_settings, &solution_list, true)) goto solve_coord_error_buffer; goto solve_coord_done; } -- cgit v1.3