diff options
Diffstat (limited to 'src/solvers/h48')
| -rw-r--r-- | src/solvers/h48/solve.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/solvers/h48/solve.h b/src/solvers/h48/solve.h index cf7095c..d19309b 100644 --- a/src/solvers/h48/solve.h +++ b/src/solvers/h48/solve.h | |||
| @@ -155,7 +155,7 @@ solve_h48_dfs(dfsarg_solve_h48_t arg[static 1]) | |||
| 155 | bool ulbi, ulbn; | 155 | bool ulbi, ulbn; |
| 156 | cube_t backup_cube, backup_inverse; | 156 | cube_t backup_cube, backup_inverse; |
| 157 | 157 | ||
| 158 | if (issolved(arg->cube)) { | 158 | if (equal(arg->cube, SOLVED_CUBE)) { |
| 159 | nm = arg->solution_moves->nmoves | 159 | nm = arg->solution_moves->nmoves |
| 160 | + arg->solution_moves->npremoves; | 160 | + arg->solution_moves->npremoves; |
| 161 | if (arg->target_depth != nm) | 161 | if (arg->target_depth != nm) |
| @@ -282,7 +282,7 @@ solve_h48_maketasks( | |||
| 282 | cube_t backup_cube; | 282 | cube_t backup_cube; |
| 283 | solution_moves_t moves; | 283 | solution_moves_t moves; |
| 284 | 284 | ||
| 285 | if (issolved(maketasks_arg->cube)) { | 285 | if (equal(maketasks_arg->cube, SOLVED_CUBE)) { |
| 286 | if (maketasks_arg->nmoves > maketasks_arg->maxmoves || | 286 | if (maketasks_arg->nmoves > maketasks_arg->maxmoves || |
| 287 | maketasks_arg->nmoves < maketasks_arg->minmoves || | 287 | maketasks_arg->nmoves < maketasks_arg->minmoves || |
| 288 | solutions_done(solve_arg->solution_list, | 288 | solutions_done(solve_arg->solution_list, |
