commit b6cf0aadf2b778630b37e716fe6096b50544da06
parent beabb3edac99a1263e7cfa378546ce9f5081d32f
Author: Luka Kalezic <kaleza98@gmail.com>
Date: Thu, 21 Dec 2023 17:16:31 +0100
Ignore first goto
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/magichex/src/magichex.c b/magichex/src/magichex.c
@@ -167,7 +167,7 @@ bool solve(unsigned long n, long d, HexagonEntry hexagon[])
if (occupation[hexagonEntry->lo-o] < r*r)
return false; /* another variable has the same value */
occupation[hexagonEntry->lo-o] = i; /* occupy hexagonEntry->lo */
- goto restart;
+ //goto restart;
}
}
/* now propagate the alldifferent results to the bounds */