commit 5a660e0fe4e509fef532fc513cb7f7ed7d2d2881
parent 915545b74c24670f2a03426181075f61ea210abf
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date: Tue, 14 Dec 2021 11:05:59 +0100
minor restyling
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/steps.c b/src/steps.c
@@ -1195,12 +1195,13 @@ estimate_optimal_HTM(DfsArg *arg)
/* If ret == 0, it's solved (corners + triple slice solved) */
if (ret == 0)
- return ret;
+ return 0;
/* Michel de Bondt's trick*/
if (arg->ed->normal_ud == arg->ed->normal_fb &&
- arg->ed->normal_fb == arg->ed->normal_rl)
+ arg->ed->normal_fb == arg->ed->normal_rl) {
UPDATECHECKSTOP(ret, arg->ed->normal_ud + 1, target);
+ }
/* Inverse probing */
arg->inverse = inverse_cube(arg->cube);