diff options
Diffstat (limited to 'src/solvers/coord')
| -rw-r--r-- | src/solvers/coord/solve.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/solvers/coord/solve.h b/src/solvers/coord/solve.h index 659040c..018aa90 100644 --- a/src/solvers/coord/solve.h +++ b/src/solvers/coord/solve.h | |||
| @@ -123,8 +123,7 @@ solve_coord_dfs(dfsarg_solve_coord_t arg[static 1]) | |||
| 123 | if (!coord_solution_admissible(arg)) | 123 | if (!coord_solution_admissible(arg)) |
| 124 | return 0; | 124 | return 0; |
| 125 | return appendsolution(arg->solution_moves, | 125 | return appendsolution(arg->solution_moves, |
| 126 | arg->solution_settings, arg->solution_list, true, | 126 | arg->solution_settings, arg->solution_list); |
| 127 | arg->coord->name); | ||
| 128 | } | 127 | } |
| 129 | 128 | ||
| 130 | if (solve_coord_dfs_stop(arg)) | 129 | if (solve_coord_dfs_stop(arg)) |
| @@ -326,7 +325,7 @@ solve_coord( | |||
| 326 | 325 | ||
| 327 | if (coord->coord(c, coord_data) == 0) { | 326 | if (coord->coord(c, coord_data) == 0) { |
| 328 | if (minmoves == 0 && !appendsolution(&solution_moves, | 327 | if (minmoves == 0 && !appendsolution(&solution_moves, |
| 329 | &solution_settings, &solution_list, true, coord->name)) | 328 | &solution_settings, &solution_list)) |
| 330 | goto solve_coord_error_buffer; | 329 | goto solve_coord_error_buffer; |
| 331 | goto solve_coord_done; | 330 | goto solve_coord_done; |
| 332 | } | 331 | } |
